* lisp/emacs-lisp/pcase.el (pcase--make-docstring): Autoload
This commit is contained in:
parent
52cd63d528
commit
9564fc33f5
1 changed files with 2 additions and 0 deletions
|
@ -176,7 +176,9 @@ Emacs Lisp manual for more information and examples."
|
|||
|
||||
;; FIXME: Obviously, this will collide with nadvice's use of
|
||||
;; function-documentation if we happen to advise `pcase'.
|
||||
;;;###autoload
|
||||
(put 'pcase 'function-documentation '(pcase--make-docstring))
|
||||
;;;###autoload
|
||||
(defun pcase--make-docstring ()
|
||||
(let* ((main (documentation (symbol-function 'pcase) 'raw))
|
||||
(ud (help-split-fundoc main 'pcase)))
|
||||
|
|
Loading…
Add table
Reference in a new issue