emacs-devel
[Top][All Lists]
Advanced

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

Re: Customize fringe


From: Eli Zaretskii
Subject: Re: Customize fringe
Date: Sat, 11 May 2002 13:13:24 +0300

> From: Simon Josefsson <address@hidden>
> Date: Sat, 11 May 2002 11:14:46 +0200
>  
> +(setq menu-bar-showhide-fringe-menu (make-sparse-keymap "Fringe"))
> +
> +(define-key menu-bar-showhide-fringe-menu [customize]
> +  '(menu-item "Customize"
> +           (lambda ()
> +             (interactive)
> +             (customize-variable 'fringe-mode))
> +           :help "Detailed customization of fringe"
> +           :visible (display-graphic-p)))

I think it's generally best to avoid anonymous lambda expressions in
the menu bar bindings, since they cause "C-h c" and "C-h k" to display
useless information for anyone but Lisp hackers.



reply via email to

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