diff options
| author | Richard M. Stallman | 1995-11-10 17:08:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-10 17:08:38 +0000 |
| commit | 09e32aaf275c49e2fd6ea7a4396cf41679c8a397 (patch) | |
| tree | b9b67141a0ff36be5994625e291861f8147afb55 | |
| parent | fd4ea9a214a9dbb9f12b4e747e24ffc8425c1800 (diff) | |
| download | emacs-09e32aaf275c49e2fd6ea7a4396cf41679c8a397.tar.gz emacs-09e32aaf275c49e2fd6ea7a4396cf41679c8a397.zip | |
(apropos-print): Use buffer *Apropos*, not *Help*.
(apropos-follow): Don't print a "how to get back" message.
(apropos-follow): Fix error message.
| -rw-r--r-- | lisp/apropos.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el index 4a5e16391a8..a51db667874 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el | |||
| @@ -421,7 +421,7 @@ found." | |||
| 421 | (symbolp apropos-label-face) | 421 | (symbolp apropos-label-face) |
| 422 | (setq apropos-label-face `(face ,apropos-label-face | 422 | (setq apropos-label-face `(face ,apropos-label-face |
| 423 | mouse-face highlight))) | 423 | mouse-face highlight))) |
| 424 | (with-output-to-temp-buffer "*Help*" | 424 | (with-output-to-temp-buffer "*Apropos*" |
| 425 | (let ((p apropos-accumulator) | 425 | (let ((p apropos-accumulator) |
| 426 | (old-buffer (current-buffer)) | 426 | (old-buffer (current-buffer)) |
| 427 | symbol item point1 point2) | 427 | symbol item point1 point2) |
| @@ -537,7 +537,7 @@ found." | |||
| 537 | (1+ (next-single-property-change (point) 'item))))) | 537 | (1+ (next-single-property-change (point) 'item))))) |
| 538 | 'item))) | 538 | 'item))) |
| 539 | (if (consp item) | 539 | (if (consp item) |
| 540 | (error "%s is just a lonely smbol." (car item))) | 540 | (error "%s is just a lonely symbol" (car item))) |
| 541 | (while (if (setq action-point | 541 | (while (if (setq action-point |
| 542 | (next-single-property-change (point) 'action)) | 542 | (next-single-property-change (point) 'action)) |
| 543 | (<= action-point point)) | 543 | (<= action-point point)) |
| @@ -546,10 +546,7 @@ found." | |||
| 546 | (funcall | 546 | (funcall |
| 547 | (prog1 (get-text-property (or action action-point (point)) 'action) | 547 | (prog1 (get-text-property (or action action-point (point)) 'action) |
| 548 | (if other (set-buffer other))) | 548 | (if other (set-buffer other))) |
| 549 | item)) | 549 | item))) |
| 550 | (message "%sype %s (undo) to get back to apropos-listing." | ||
| 551 | (if other "In *Help* buffer t" "T") | ||
| 552 | (key-description (where-is-internal 'undo nil 1)))) | ||
| 553 | 550 | ||
| 554 | 551 | ||
| 555 | 552 | ||