[Top][All Lists]

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

Putting auto-image-file-mode in Options menu

From: Juri Linkov
Subject: Putting auto-image-file-mode in Options menu
Date: Sun, 13 Mar 2005 04:14:11 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux)

There is already "Automatic File De/compression" menu item
for auto-compression-mode in the Options menu, but no menu item
for auto-image-file-mode.  This looks like an unintentional omission.

Index: lisp/menu-bar.el
RCS file: /cvsroot/emacs/emacs/lisp/menu-bar.el,v
retrieving revision 1.254
diff -u -r1.254 menu-bar.el
--- lisp/menu-bar.el    6 Mar 2005 20:18:06 -0000       1.254
+++ lisp/menu-bar.el    12 Mar 2005 23:34:25 -0000
@@ -970,6 +970,13 @@
 (define-key menu-bar-options-menu [cursor-separator]
+(define-key menu-bar-options-menu [toggle-auto-image-file]
+  '(menu-item "Automatic Image Files"
+             auto-image-file-mode
+             :help "Toggle visiting of image files as images"
+             :button (:toggle . (rassq 'image-file-handler
+                                       file-name-handler-alist))))
 (define-key menu-bar-options-menu [toggle-auto-compression]
   '(menu-item "Automatic File De/compression"

Juri Linkov

reply via email to

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