Mercurial > hg > xemacs-beta
diff lisp/x11/x-menubar.el @ 2:ac2d302a0011 r19-15b2
Import from CVS: tag r19-15b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:35 +0200 |
parents | 376386a54a3c |
children | b82b59fe008d |
line wrap: on
line diff
--- a/lisp/x11/x-menubar.el Mon Aug 13 08:45:53 2007 +0200 +++ b/lisp/x11/x-menubar.el Mon Aug 13 08:46:35 2007 +0200 @@ -168,8 +168,9 @@ ) ("Printing Options" ["Command-Line Switches for `lpr'/`lp'..." - (setq lpr-switches (read-string "Switches for `lpr'/`lp': " - lpr-switches)) + (setq lpr-switches + (read-expression "Switches for `lpr'/`lp': " + (format "%S" lpr-switches))) t] ["Pretty-Print With Color" (setq ps-print-color-p (not ps-print-color-p)) @@ -561,8 +562,9 @@ ))) -;;; Add Load Init button to menubar when starting up with -q (defun maybe-add-init-button () + "Don't call this. +Adds `Load .emacs' button to menubar when starting up with -q." ;; by Stig@hackvan.com (cond (init-file-user nil) @@ -1113,7 +1115,10 @@ (expand-file-name save-options-file (file-name-directory actual-save-options-init-file)) - t)) + ;; Don't hack-homedir in abbreviate-file-name. This will + ;; cause an incorrect expansion if the save-options variables + ;; have ~ in them. + )) (init-output-buffer (find-file-noselect actual-save-options-init-file)) init-output-marker