]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak proced docstring to trigger autoloading.
authorChong Yidong <cyd@gnu.org>
Sun, 5 Aug 2012 14:22:05 +0000 (22:22 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 5 Aug 2012 14:22:05 +0000 (22:22 +0800)
* lisp/proced.el (proced): Add substitution string to docstring to
trigger autoloading of the proced library on C-h f.

Fixes: debbugs:1768
lisp/ChangeLog
lisp/proced.el

index e211bacbb02a26c266fc4b1fd298b553afe960fe..289fbf4a225913d3db90333ada1e2ff35ae07707 100644 (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).
 
index 78afcac9f502e44d23ce50ab763dd82e1ea62df0..d98bf7d2c5bba7a931dbd669e486f030c795172e 100644 (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"))