From 0fefc86a6e3d49d08d6cde96843664794172242e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 31 May 1996 15:33:29 +0000 Subject: (electric-helpify): Allow NAME to be given as arg. (electric-command-apropos): Specify *Apropos* as buffer name. --- lisp/ehelp.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/ehelp.el b/lisp/ehelp.el index 14401f7c9a5..c469c3d10f9 100644 --- a/lisp/ehelp.el +++ b/lisp/ehelp.el @@ -260,8 +260,8 @@ will select it.)" ;;;###autoload -(defun electric-helpify (fun) - (let ((name "*Help*")) +(defun electric-helpify (fun &optional name) + (let ((name (or name "*Help*"))) (if (save-window-excursion ;; kludge-o-rama (let* ((p (symbol-function 'print-help-return-message)) @@ -363,7 +363,7 @@ will select it.)" (defun electric-command-apropos () (interactive) - (electric-helpify 'command-apropos)) + (electric-helpify 'command-apropos "*Apropos*")) ;(define-key help-map "a" 'electric-command-apropos) -- cgit v1.2.1