1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

; Fix byte-compilation warnings

* lisp/cus-edit.el (custom-reset-standard-save-and-update): Fix
byte-compilation warnings about using 'eq'.
This commit is contained in:
Eli Zaretskii 2022-12-19 19:34:36 +02:00
parent 03e75b0f5f
commit ae91da5233

View file

@ -903,9 +903,9 @@ This also shows the saved values in the buffer."
(defun custom-reset-standard-save-and-update ()
"Save settings and redraw after erasing customizations."
(when (or (and custom-reset-standard-variables-list
(not (eq custom-reset-standard-variables-list '(t))))
(not (equal custom-reset-standard-variables-list '(t))))
(and custom-reset-standard-faces-list
(not (eq custom-reset-standard-faces-list '(t)))))
(not (equal custom-reset-standard-faces-list '(t)))))
;; Save settings to file.
(custom-save-all)
;; Set state of and redraw variables.