]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix customisation of mouse-drag-and-drop-region (bug#41251)
authorMattias Engdegård <mattiase@acm.org>
Thu, 14 May 2020 10:23:23 +0000 (12:23 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 14 May 2020 10:23:23 +0000 (12:23 +0200)
Reported by David Ponce.

* lisp/mouse.el (mouse-drag-and-drop-region): Add missing unquote.

lisp/mouse.el

index 9703d957d5735636ac758746220dac309d7799ef..795b4da19e1ff5b3f9d11114edf18f669410856d 100644 (file)
@@ -2556,7 +2556,7 @@ region, text is copied instead of being cut."
              (lambda (modifier)
                `(const :tag ,(format "Enable, but copy with the %s modifier"
                                      modifier)
-                       modifier))
+                       ,modifier))
              '(alt super hyper shift control meta))
           (other :tag "Enable dragging the region" t))
   :version "26.1")