summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-12-19 19:34:36 +0200
committerEli Zaretskii <eliz@gnu.org>2022-12-19 19:34:36 +0200
commitae91da52335aafaff5405a49c23460082dfb460d (patch)
tree86ce70e1c3edab4b61f08f5b1f7ac4cfcc375956
parent03e75b0f5f279f166db895ba4245bda6fa2f1ffe (diff)
downloademacs-ae91da52335aafaff5405a49c23460082dfb460d.tar.gz
; 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."
(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.