]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-buffer-create-internal): Check tool-bar-mode is bound.
authorGlenn Morris <rgm@gnu.org>
Wed, 5 Sep 2007 03:49:26 +0000 (03:49 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 5 Sep 2007 03:49:26 +0000 (03:49 +0000)
lisp/ChangeLog
lisp/cus-edit.el

index c237c28d24a8c895c3234ef99ba5b3f0d73bd39c..e3bd85f1db340499d9e19ed82d76834070b87d01 100644 (file)
@@ -1,3 +1,13 @@
+2007-09-05  Glenn Morris  <rgm@gnu.org>
+
+       * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
+       is bound.
+
+2007-09-05  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
+
+       * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
+        in doc string.
+
 2007-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * server.el (server-start, server-unload-hook): Undo previous
index 869533b3c3efdfc65c48c6654570fc0140609a59..9d313c2344d5ade1a37d08c8cbb700338d88b771 100644 (file)
@@ -1550,7 +1550,8 @@ possibly because you started Emacs with `-q'.")
     ;; Insert custom command buttons if the toolbar is not in use.
 
     (widget-insert "\n")
-    (when (not (and tool-bar-mode (display-graphic-p)))
+    ;; tool-bar is not dumped in builds without x.
+    (when (not (and (bound-and-true-p tool-bar-mode) (display-graphic-p)))
       (if custom-buffer-verbose-help
          (widget-insert "\n
  Operate on all settings in this buffer that are not marked HIDDEN:\n"))