From 777fe95e05ab77e77e4ecee45382ec64d381c776 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 5 Aug 2012 22:22:05 +0800 Subject: [PATCH] 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 --- lisp/ChangeLog | 3 +++ lisp/proced.el | 11 +++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) 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")) -- 2.39.2