Fix regression in 'custom-prompt-customize-unsaved-options'
* lisp/cus-edit.el (custom-prompt-customize-unsaved-options): Don't depend on the value returned by 'customize-unsaved'. Fix the doc string. Patch by Sebastian Miele <iota@whxvd.name>. (Bug#54329)
This commit is contained in:
parent
a9920473f6
commit
dbe6a3ecf7
1 changed files with 4 additions and 4 deletions
|
@ -1531,12 +1531,12 @@ If TYPE is `groups', include only groups."
|
|||
;;;###autoload
|
||||
(defun custom-prompt-customize-unsaved-options ()
|
||||
"Prompt user to customize any unsaved customization options.
|
||||
Return non-nil if user chooses to customize, for use in
|
||||
Return nil if user chooses to customize, for use in
|
||||
`kill-emacs-query-functions'."
|
||||
(not (and (custom-unsaved-options)
|
||||
(yes-or-no-p "Some customized options have not been saved; Examine? ")
|
||||
(customize-unsaved)
|
||||
t)))
|
||||
(yes-or-no-p
|
||||
"Some customized options have not been saved; Examine? ")
|
||||
(progn (customize-unsaved) t))))
|
||||
|
||||
;;; Buffer.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue