summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2021-08-20 13:51:36 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2021-08-20 13:51:36 +0200
commit573e8eef86acb560541226465817d5a84efeebc5 (patch)
tree4a64d2105927da0adce0134b1df9f32c25282e40
parent89c31342a735c631b93ef7d75f3b0672e83f9e95 (diff)
downloademacs-573e8eef86acb560541226465817d5a84efeebc5.tar.gz
emacs-573e8eef86acb560541226465817d5a84efeebc5.tar.bz2
emacs-573e8eef86acb560541226465817d5a84efeebc5.zip
; * lisp/mouse.el: Fix typos in previous change
-rw-r--r--lisp/mouse.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 4dcc2f28f4a..3441a4787e6 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)