emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ae91da5233: ; Fix byte-compilation warnings


From: Eli Zaretskii
Subject: master ae91da5233: ; Fix byte-compilation warnings
Date: Mon, 19 Dec 2022 12:35:05 -0500 (EST)

branch: master
commit ae91da52335aafaff5405a49c23460082dfb460d
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix byte-compilation warnings
    
    * lisp/cus-edit.el (custom-reset-standard-save-and-update): Fix
    byte-compilation warnings about using 'eq'.
---
 lisp/cus-edit.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 8af4618dbd..65eb066a55 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]