Skip to content

Commit 9c35eda

Browse files
anthonygaleabbatsov
authored andcommitted
[#422] Do not check for presence of paredit-open-curly and paredit-close-curly functions.
Passing non-nil fileonly parameter to check-declare to skip checking that the functions are actually defined, because they are defined via the `define-paredit-pair` macro. See https://www.gnu.org/software/emacs/manual/html_node/elisp/Declaring-Functions.html > There are some function definitions that ‘check-declare’ does not understand (e.g., defstruct and some other macros). In such cases, you can pass a non-nil fileonly argument to declare-function, meaning to only check that the file exists, not that it actually defines the function.
1 parent 56ec5a4 commit 9c35eda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clojure-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,8 @@ ENDP and DELIMITER."
471471
t)
472472
(= orig-point (match-end 0)))))))))
473473

474-
(declare-function paredit-open-curly "ext:paredit")
475-
(declare-function paredit-close-curly "ext:paredit")
474+
(declare-function paredit-open-curly "ext:paredit" t t)
475+
(declare-function paredit-close-curly "ext:paredit" t t)
476476
(declare-function paredit-convolute-sexp "ext:paredit")
477477

478478
(defun clojure--replace-let-bindings-and-indent (orig-fun &rest args)

0 commit comments

Comments
 (0)