emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kill ring menu


From: Miles Bader
Subject: Re: kill ring menu
Date: 29 Apr 2002 12:35:04 +0900

Also another comment:

+(defcustom kill-ring-menu-separator-face 'bold
+  "The face in which to highlight the `kill-ring-menu-separator'."

It's the general custom now-days to not define variables holding faces,
but instead simply make a specialized face if you need it, and use the
:inherit attribute if you want to use a builtin face by default.  This
is more convenient and less confusing for users.

E.g. instead of above, use:

(defface kill-ring-menu-separator '((t :inherit bold))
  "The face in which to highlight the `kill-ring-menu-separator'."
   :group 'killing)

[or just use `:weight bold' instead of :inherit]

-Miles
-- 
I have seen the enemy, and he is us.  -- Pogo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]