1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Tweak proced docstring to trigger autoloading.

* lisp/proced.el (proced): Add substitution string to docstring to
trigger autoloading of the proced library on C-h f.

Fixes: debbugs:1768
This commit is contained in:
Chong Yidong 2012-08-05 22:22:05 +08:00
parent b7ccbdc2e3
commit 777fe95e05
2 changed files with 10 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2012-08-05 Chong Yidong <cyd@gnu.org>
* proced.el (proced): Add substitution string to docstring to
trigger autoloading of the proced library on C-h f (Bug#1768).
* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
show defvars which have no second argument (Bug#8638).

View file

@ -659,11 +659,14 @@ After displaying or updating a Proced buffer, Proced runs the normal hook
;;;###autoload
(defun proced (&optional arg)
"Generate a listing of UNIX system processes.
If invoked with optional ARG the window displaying the process
information will be displayed but not selected.
Runs the normal hook `proced-post-display-hook'.
\\<proced-mode-map>
If invoked with optional ARG, do not select the window displaying
the process information.
See `proced-mode' for a description of features available in Proced buffers."
This function runs the normal hook `proced-post-display-hook'.
See `proced-mode' for a description of features available in
Proced buffers."
(interactive "P")
(unless proced-available
(error "Proced is not available on this system"))