]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix declaration syntax of 'image-dired--on-file-in-dired-buffer'.
authorPhilipp Stephani <phst@google.com>
Wed, 3 Nov 2021 20:48:13 +0000 (21:48 +0100)
committerPhilipp Stephani <phst@google.com>
Wed, 3 Nov 2021 20:48:13 +0000 (21:48 +0100)
* lisp/image-dired.el (image-dired--on-file-in-dired-buffer): Fix
declaration syntax.

lisp/image-dired.el

index f5792096e1901d6c2135140f2620b8a6d4719300..6deaaef8ceede6fb8d80aa02c88dd6ffc9c83b01 100644 (file)
@@ -1499,8 +1499,8 @@ comment."
 (defmacro image-dired--on-file-in-dired-buffer (&rest body)
   "Run BODY with point on file at point in Dired buffer.
 Should be called from commands in `image-dired-thumbnail-mode'."
-  (declare ((indent defun)
-            (debug 1)))
+  (declare (indent defun)
+           (debug 1))
   `(let ((file-name (image-dired-original-file-name))
          (dired-buf (image-dired-associated-dired-buffer)))
      (if (not (and dired-buf file-name))