emacs-diffs
[Top][All Lists]
Advanced

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

master 573e8ee: ; * lisp/mouse.el: Fix typos in previous change


From: Mattias Engdegård
Subject: master 573e8ee: ; * lisp/mouse.el: Fix typos in previous change
Date: Fri, 20 Aug 2021 07:52:11 -0400 (EDT)

branch: master
commit 573e8eef86acb560541226465817d5a84efeebc5
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * lisp/mouse.el: Fix typos in previous change
---
 lisp/mouse.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/mouse.el b/lisp/mouse.el
index 4dcc2f2..3441a47 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -455,9 +455,9 @@ CLICK-SYM and DOWN-SYM are the mouse click and down key 
symbols to use."
           context-menu--saved-bindings)
     (global-set-key down context-menu-entry)))
 
-(defun context-menu--reset-bindings ()
+(defun context-menu--restore-bindings ()
   "Restore saved `context-menu-mode' bindings."
-  (pcase-dolist (`(sym . binding) context-menu--saved-bindings)
+  (pcase-dolist (`(,sym . ,binding) context-menu--saved-bindings)
     (let ((key (vector sym)))
       (if binding
           (global-set-key key binding)



reply via email to

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