* lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
(help-fns--signature): Declare.
This commit is contained in:
parent
d6b91bf5d4
commit
a73af96549
1 changed files with 7 additions and 0 deletions
|
@ -91,6 +91,10 @@
|
|||
|
||||
(def-edebug-spec pcase-MACRO pcase--edebug-match-macro)
|
||||
|
||||
;; Only called from edebug.
|
||||
(declare-function get-edebug-spec "edebug" (symbol))
|
||||
(declare-function edebug-match "edebug" (cursor specs))
|
||||
|
||||
(defun pcase--edebug-match-macro (cursor)
|
||||
(let (specs)
|
||||
(mapatoms
|
||||
|
@ -158,6 +162,9 @@ Currently, the following patterns are provided this way:"
|
|||
;; (puthash (car cases) `(,exp ,cases ,@expansion) pcase--memoize-2)
|
||||
expansion))))
|
||||
|
||||
(declare-function help-fns--signature "help-fns"
|
||||
(function doc real-def real-function))
|
||||
|
||||
;; FIXME: Obviously, this will collide with nadvice's use of
|
||||
;; function-documentation if we happen to advise `pcase'.
|
||||
(put 'pcase 'function-documentation '(pcase--make-docstring))
|
||||
|
|
Loading…
Add table
Reference in a new issue