Mercurial > emacs
diff src/frame.c @ 111266:8da6c861bf9f
Fix bug#7299; default value of tool-bar-mode in without-x builds.
* src/frame.c (syms_of_frame) <tool-bar-mode>:
Default to nil if !HAVE_WINDOW_SYSTEM.
* lisp/cus-start.el: Handle standard values via a keyword.
Only set version property if specified.
(cursor-in-non-selected-windows, menu-bar-mode)
(tool-bar-mode, show-trailing-whitespace):
Do not specify standard values.
(transient-mark-mode, temporary-file-directory): Use :standard.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 31 Oct 2010 11:26:54 -0700 |
parents | cdad894f9ed0 |
children | 89b451e02a34 |
line wrap: on
line diff
--- a/src/frame.c Sun Oct 31 11:13:40 2010 -0700 +++ b/src/frame.c Sun Oct 31 11:26:54 2010 -0700 @@ -4576,7 +4576,11 @@ Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `tool-bar-mode'. */); +#ifdef HAVE_WINDOW_SYSTEM Vtool_bar_mode = Qt; +#else + Vtool_bar_mode = Qnil; +#endif DEFVAR_KBOARD ("default-minibuffer-frame", Vdefault_minibuffer_frame, doc: /* Minibufferless frames use this frame's minibuffer.