aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-09-05 03:49:26 +0000
committerGlenn Morris <[email protected]>2007-09-05 03:49:26 +0000
commitd0da8f91f119cd33b7778739411b81b394d9a530 (patch)
tree4d071fffac02643e226edda30bd7edfc9fc70375 /lisp
parentfeb47a092cce60fbdb6f591ddab2ec09729e6511 (diff)
(custom-buffer-create-internal): Check tool-bar-mode is bound.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/cus-edit.el3
2 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c237c28d24..e3bd85f1db 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
+2007-09-05 Glenn Morris <[email protected]>
+
+ * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
+ is bound.
+
+2007-09-05 Johan Bockg,Ae(Brd <[email protected]>
+
+ * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
+ in doc string.
+
2007-09-04 Dan Nicolaescu <[email protected]>
* server.el (server-start, server-unload-hook): Undo previous
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 869533b3c3..9d313c2344 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -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"))