projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52cd63d
)
* lisp/emacs-lisp/pcase.el (pcase--make-docstring): Autoload
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 27 Feb 2019 16:01:15 +0000
(11:01 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 27 Feb 2019 16:01:15 +0000
(11:01 -0500)
lisp/emacs-lisp/pcase.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/pcase.el
b/lisp/emacs-lisp/pcase.el
index 40e9ba1c14aedb327bd22c5256d6fb4dde686c0c..9de24015494029da00abc0aea4adfcdc11d5718a 100644
(file)
--- a/
lisp/emacs-lisp/pcase.el
+++ b/
lisp/emacs-lisp/pcase.el
@@
-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)))