]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-dispatcher.el (vc-log-edit): Un-quote the lambda
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 21 Jul 2022 23:50:23 +0000 (19:50 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 21 Jul 2022 23:50:23 +0000 (19:50 -0400)
lisp/vc/vc-dispatcher.el

index 5c664d58f1a2d7c9aad7d9f829973f999b78cbd1..f50d45217c7d6503999b87320d58f6c58e77442b 100644 (file)
@@ -636,23 +636,23 @@ NOT-URGENT means it is ok to continue if the user says not to save."
                (and (local-variable-p 'vc-log-fileset)
                     (not (equal vc-log-fileset fileset))))
            `((log-edit-listfun
-               . (lambda ()
-                   ;; FIXME: When fileset includes directories, and
-                   ;; there are relevant ChangeLog files inside their
-                   ;; children, we don't find them.  Either handle it
-                   ;; in `log-edit-insert-changelog-entries' by
-                   ;; walking down the file trees, or somehow pass
-                   ;; `fileset-only-files' from `vc-next-action'
-                   ;; through to this function.
-                   (let ((root (vc-root-dir)))
-                     ;; Returns paths relative to the root, so that
-                     ;; `log-edit-changelog-insert-entries'
-                     ;; substitutes them in correctly later, even when
-                     ;; `vc-checkin' was called from a file buffer, or
-                     ;; a non-root VC-Dir buffer.
-                     (mapcar
-                      (lambda (file) (file-relative-name file root))
-                      ',fileset))))
+               . ,(lambda ()
+                    ;; FIXME: When fileset includes directories, and
+                    ;; there are relevant ChangeLog files inside their
+                    ;; children, we don't find them.  Either handle it
+                    ;; in `log-edit-insert-changelog-entries' by
+                    ;; walking down the file trees, or somehow pass
+                    ;; `fileset-only-files' from `vc-next-action'
+                    ;; through to this function.
+                    (let ((root (vc-root-dir)))
+                      ;; Returns paths relative to the root, so that
+                      ;; `log-edit-changelog-insert-entries'
+                      ;; substitutes them in correctly later, even when
+                      ;; `vc-checkin' was called from a file buffer, or
+                      ;; a non-root VC-Dir buffer.
+                      (mapcar
+                       (lambda (file) (file-relative-name file root))
+                       fileset))))
              (log-edit-diff-function . vc-diff)
              (log-edit-vc-backend . ,backend)
              (vc-log-fileset . ,fileset))