From: Mattias EngdegÄrd Date: Fri, 20 Aug 2021 11:51:36 +0000 (+0200) Subject: ; * lisp/mouse.el: Fix typos in previous change X-Git-Tag: emacs-28.0.90~1420 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=573e8eef86acb560541226465817d5a84efeebc5;p=emacs.git ; * lisp/mouse.el: Fix typos in previous change --- 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)