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
|
;;;###autoload
|
||||||
(defun custom-prompt-customize-unsaved-options ()
|
(defun custom-prompt-customize-unsaved-options ()
|
||||||
"Prompt user to customize any unsaved customization 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'."
|
`kill-emacs-query-functions'."
|
||||||
(not (and (custom-unsaved-options)
|
(not (and (custom-unsaved-options)
|
||||||
(yes-or-no-p "Some customized options have not been saved; Examine? ")
|
(yes-or-no-p
|
||||||
(customize-unsaved)
|
"Some customized options have not been saved; Examine? ")
|
||||||
t)))
|
(progn (customize-unsaved) t))))
|
||||||
|
|
||||||
;;; Buffer.
|
;;; Buffer.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue