changeset 73062:7b4e5468a485

(custom-buffer-create-internal): In `emacs -q', explain why Save is not available.
author Richard M. Stallman <rms@gnu.org>
date Fri, 22 Sep 2006 21:47:00 +0000
parents 0b12c2c3fdb1
children c7a80e0bd982
files lisp/cus-edit.el
diffstat 1 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cus-edit.el	Fri Sep 22 21:35:30 2006 +0000
+++ b/lisp/cus-edit.el	Fri Sep 22 21:47:00 2006 +0000
@@ -1521,13 +1521,18 @@
 	    (widget-insert description))
 	(widget-insert (format ".
 %s buttons; type RET or click mouse-1 to actuate one.
-Editing a setting changes only the text in the buffer.
-Use the setting's State button to set it or save changes in it.
-Saving a change normally works by editing your Emacs init file.
-See "
+Editing a setting changes only the text in the buffer."
 			       (if custom-raised-buttons
 				   "`Raised' text indicates"
 				 "Square brackets indicate")))
+	(if init-file-user
+	    (widget-insert "
+Use the setting's State button to set it or save changes in it.
+Saving a change normally works by editing your Emacs init file.")
+	    (widget-insert "
+\nSince you started Emacs with `-q', which inhibits use of the
+Emacs init file, you cannot save settings into the Emacs init file."))
+	(widget-insert "\nSee ")
 	(widget-create 'custom-manual
 		       :tag "Custom file"
 		       "(emacs)Saving Customizations")