From: Chong Yidong Date: Sun, 5 Aug 2012 14:22:05 +0000 (+0800) Subject: Tweak proced docstring to trigger autoloading. X-Git-Tag: emacs-24.2.90~841 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=777fe95e05ab77e77e4ecee45382ec64d381c776;p=emacs.git 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 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e211bacbb02..289fbf4a225 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2012-08-05 Chong Yidong + * 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). diff --git a/lisp/proced.el b/lisp/proced.el index 78afcac9f50..d98bf7d2c5b 100644 --- a/lisp/proced.el +++ b/lisp/proced.el @@ -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'. +\\ +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"))