Commit d0da8f91 authored by Glenn Morris's avatar Glenn Morris
Browse files

(custom-buffer-create-internal): Check tool-bar-mode is bound.

parent feb47a09
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,Ae(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
......
......@@ -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"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment