aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2022-12-19 19:34:36 +0200
committerEli Zaretskii2022-12-19 19:34:36 +0200
commitae91da52335aafaff5405a49c23460082dfb460d (patch)
tree86ce70e1c3edab4b61f08f5b1f7ac4cfcc375956
parent03e75b0f5f279f166db895ba4245bda6fa2f1ffe (diff)
downloademacs-ae91da52335aafaff5405a49c23460082dfb460d.tar.gz
emacs-ae91da52335aafaff5405a49c23460082dfb460d.zip
; Fix byte-compilation warnings
* lisp/cus-edit.el (custom-reset-standard-save-and-update): Fix byte-compilation warnings about using 'eq'.
-rw-r--r--lisp/cus-edit.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 8af4618dbd1..65eb066a554 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -903,9 +903,9 @@ This also shows the saved values in the buffer."
903(defun custom-reset-standard-save-and-update () 903(defun custom-reset-standard-save-and-update ()
904 "Save settings and redraw after erasing customizations." 904 "Save settings and redraw after erasing customizations."
905 (when (or (and custom-reset-standard-variables-list 905 (when (or (and custom-reset-standard-variables-list
906 (not (eq custom-reset-standard-variables-list '(t)))) 906 (not (equal custom-reset-standard-variables-list '(t))))
907 (and custom-reset-standard-faces-list 907 (and custom-reset-standard-faces-list
908 (not (eq custom-reset-standard-faces-list '(t))))) 908 (not (equal custom-reset-standard-faces-list '(t)))))
909 ;; Save settings to file. 909 ;; Save settings to file.
910 (custom-save-all) 910 (custom-save-all)
911 ;; Set state of and redraw variables. 911 ;; Set state of and redraw variables.