aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cus-edit.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2006-09-22 21:47:00 +0000
committerRichard M. Stallman <[email protected]>2006-09-22 21:47:00 +0000
commit83ff1415e57edae7cd2a1906171110b2b21933c6 (patch)
tree8c90c0e231791f9c9b6a9283aaa66ce9dc7f833d /lisp/cus-edit.el
parentda37d01fcedaa3594fe4141d3d89df159238c2d6 (diff)
(custom-buffer-create-internal): In `emacs -q',
explain why Save is not available.
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r--lisp/cus-edit.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 70552c604b..82d2f14787 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -1521,13 +1521,18 @@ Otherwise use brackets."
(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")