branch: elpa/undo-fu
commit c7af0da979bd73ba34bfd2716451594f538b229d
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Fix invalid comparison using string-equal for symbols
---
undo-fu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/undo-fu.el b/undo-fu.el
index a170056aae6..538d5b98142 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -312,7 +312,7 @@ Optional argument ARG The number of steps to redo."
(was-redo
;; Checked by the undo function.
'undo)
- ((string-equal last-command 'keyboard-quit)
+ ((eq last-command 'keyboard-quit)
;; This case needs to be explicitly detected.
;; If we undo until there is no undo information left,
;; then press `keyboard-quit' and redo, it fails without this
case.