emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/cus-edit.el,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/cus-edit.el,v
Date: Tue, 11 Nov 2008 00:28:10 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/11/11 00:28:10

Index: cus-edit.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/cus-edit.el,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -b -r1.357 -r1.358
--- cus-edit.el 6 Nov 2008 03:46:13 -0000       1.357
+++ cus-edit.el 11 Nov 2008 00:28:10 -0000      1.358
@@ -4655,7 +4655,6 @@
 if that value is non-nil."
   (use-local-map custom-mode-map)
   (easy-menu-add Custom-mode-menu)
-  (when (display-graphic-p)
     (set (make-local-variable 'tool-bar-map)
         (or custom-tool-bar-map
             ;; Set up `custom-tool-bar-map'.
@@ -4665,7 +4664,7 @@
                  (tool-bar-local-item-from-menu
                   (nth 1 arg) (nth 4 arg) map custom-mode-map))
                custom-commands)
-              (setq custom-tool-bar-map map)))))
+            (setq custom-tool-bar-map map))))
   (make-local-variable 'custom-options)
   (make-local-variable 'custom-local-buffer)
   (make-local-variable 'widget-documentation-face)




reply via email to

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