Browse Source

org-mac-link: Do not quote lambdas

* contrib/lisp/org-mac-link.el (org-mac-grab-link): Do not quote
  lambdas.
Alan Schmitt 9 năm trước cách đây
mục cha
commit
e43d0abdd1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      contrib/lisp/org-mac-link.el

+ 2 - 2
contrib/lisp/org-mac-link.el

@@ -256,7 +256,7 @@ When done, go grab the link, and insert it at point."
          input)
 
     ;; Create the menu string for the keymap
-    (mapc '(lambda (descriptor)
+    (mapc (lambda (descriptor)
             (when (elt descriptor 3)
               (setf menu-string (concat menu-string
 					"[" (elt descriptor 0) "]"
@@ -267,7 +267,7 @@ When done, go grab the link, and insert it at point."
     ;; Prompt the user, and grab the link
     (message menu-string)
     (setq input (read-char-exclusive))
-    (mapc '(lambda (descriptor)
+    (mapc (lambda (descriptor)
             (let ((key (elt (elt descriptor 0) 0))
                   (active (elt descriptor 3))
                   (grab-function (elt descriptor 2)))