]> git.eshelyaron.com Git - emacs.git/commitdiff
Correct (debug body) edebug specs
authorMichael Heerdegen <michael_heerdegen@web.de>
Sun, 18 Sep 2022 10:26:08 +0000 (12:26 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Mar 2025 10:30:27 +0000 (11:30 +0100)
This fixes Bug#69865.

* lisp/org/ob-exp.el (org-babel-exp--at-source):
* test/lisp/dired-tests.el (dired-test-with-temp-dirs):
* test/lisp/emacs-lisp/package-tests.el (with-fake-help-buffer):
Fix broken edebug specs (debug body) -> (debug (body)).

(cherry picked from commit 7905ea761ac8405628993708b4c1d4516370067c)

lisp/org/ob-exp.el
test/lisp/dired-tests.el

index 0af6a489a6d6bd0cdc176717405b75ffa7603bf6..65e2eab277931d86e5c6f09b3f96cde6070b195a 100644 (file)
@@ -65,7 +65,7 @@ to avoid evaluating code on export should use the header argument
 Source is located in `org-babel-exp-reference-buffer'.  The value
 returned is the value of the last form in BODY.  Assume that
 point is at the beginning of the Babel block."
-  (declare (indent 1) (debug body))
+  (declare (indent 1) (debug (body)))
   `(let ((source (get-text-property (point) 'org-reference)))
      ;; Source blocks created during export process (e.g., by other
      ;; source blocks) are not referenced.  In this case, do not move
index be585d276ecb32632d69430f6eb6775f156e3fbb..74732b2087ea233691fdd5f05032a898dbc7de15 100644 (file)
 
 (defmacro dired-test-with-temp-dirs (just-empty-dirs &rest body)
   "Helper macro for Bug#27940 test."
-  (declare (indent 1) (debug body))
+  (declare (indent 1) (debug (body)))
   (let ((dir (make-symbol "dir")))
     `(ert-with-temp-directory ,dir
        (let* ((dired-deletion-confirmer (lambda (_) "yes")) ; Suppress prompts.