From: Eli Zaretskii Date: Mon, 19 Dec 2022 17:34:36 +0000 (+0200) Subject: ; Fix byte-compilation warnings X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae91da52335aafaff5405a49c23460082dfb460d;p=emacs.git ; Fix byte-compilation warnings * lisp/cus-edit.el (custom-reset-standard-save-and-update): Fix byte-compilation warnings about using 'eq'. --- 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.