diff options
author | Glenn Morris <rgm@gnu.org> | 2015-05-01 13:40:31 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-05-01 13:40:31 -0400 |
commit | a73af965492c05f47048fd1f22028792574941a5 (patch) | |
tree | aaa9696ea127e72189eebab491b471d6a00c7899 /lisp/emacs-lisp/pcase.el | |
parent | d6b91bf5d4fe26dc97f967c875881d49c8da88ad (diff) | |
download | emacs-a73af965492c05f47048fd1f22028792574941a5.tar.gz |
* lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
(help-fns--signature): Declare.
Diffstat (limited to 'lisp/emacs-lisp/pcase.el')
-rw-r--r-- | lisp/emacs-lisp/pcase.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el index b4bf6404bef..5a81bb20e57 100644 --- a/lisp/emacs-lisp/pcase.el +++ b/lisp/emacs-lisp/pcase.el @@ -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)) |