From 83ff1415e57edae7cd2a1906171110b2b21933c6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 22 Sep 2006 21:47:00 +0000 Subject: [PATCH] (custom-buffer-create-internal): In `emacs -q', explain why Save is not available. --- lisp/cus-edit.el | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 70552c604b7..82d2f147874 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") -- 2.39.2