changeset 109059:5c9de51f68b5

* startup.el (command-line): Recognize "0" X resource value.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 27 Jun 2010 14:11:16 -0400
parents 2f0720afc474
children c1e50e6f89af
files lisp/ChangeLog lisp/startup.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jun 26 20:30:52 2010 -0400
+++ b/lisp/ChangeLog	Sun Jun 27 14:11:16 2010 -0400
@@ -1,3 +1,7 @@
+2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
+
+	* startup.el (command-line): Recognize "0" X resource value.
+
 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
 
 	* startup.el (command-line): Use X resources to set the value of
--- a/lisp/startup.el	Sat Jun 26 20:30:52 2010 -0400
+++ b/lisp/startup.el	Sun Jun 27 14:11:16 2010 -0400
@@ -889,7 +889,7 @@
 	    no-blinking-cursor t))
      ;; Check X resources if available.
      ((memq initial-window-system '(x w32 ns))
-      (let ((no-vals  '("no" "off" "false")))
+      (let ((no-vals  '("no" "off" "false" "0")))
 	(if (member (x-get-resource "menuBar" "MenuBar") no-vals)
 	    (setq menu-bar-mode nil))
 	(if (member (x-get-resource "toolBar" "ToolBar") no-vals)