emacs-devel
[Top][All Lists]
Advanced

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

Re: disappearing custom menu


From: martin rudalics
Subject: Re: disappearing custom menu
Date: Sun, 18 Nov 2007 20:44:14 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

If that is the case, then there's something wrong with the mechanism to
set the map. The menu does not disappear when the point is moved to the
field (and does not appear when the point is moved out of the field). It
disappears when trying to click on it, this is strange for the users.


Try

(easy-menu-define
  Custom-mode-menu (list custom-mode-map custom-field-keymap)
  "Menu used in customization buffers."
  (nconc (list "Custom"
               (customize-menu-create 'customize))
         (mapcar (lambda (arg)
                   (let ((tag     (nth 0 arg))
                         (command (nth 1 arg))
                         (active  (nth 2 arg))
                         (help    (nth 3 arg)))
                     (vector tag command :active (eval active) :help help)))
                 custom-commands)))






reply via email to

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