diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-11-01 07:45:18 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-11-01 07:45:18 +0000 |
commit | 1d4408c8ebf209bd83bae5745bc273d5d484c745 (patch) | |
tree | a9b913686a0482c760578eea8d6ef7caab1dcdb7 /lisp/play | |
parent | 2dccd96f17987622cd76ca46708ed6cbc67d3255 (diff) | |
download | emacs-1d4408c8ebf209bd83bae5745bc273d5d484c745.tar.gz |
(fortune-to-signature): Don't use interactive-p.
(fortune-in-buffer): Doc fix.
Diffstat (limited to 'lisp/play')
-rw-r--r-- | lisp/play/fortune.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/play/fortune.el b/lisp/play/fortune.el index 306cf7daac1..3919f57e78c 100644 --- a/lisp/play/fortune.el +++ b/lisp/play/fortune.el @@ -271,7 +271,7 @@ and choose the directory as the fortune-file." (fortune-ask-file) fortune-file))) (save-excursion - (fortune-in-buffer (interactive-p) file) + (fortune-in-buffer t file) (set-buffer fortune-buffer-name) (let* ((fortune (buffer-string)) (signature (concat fortune-sigstart fortune fortune-sigend))) @@ -285,7 +285,7 @@ and choose the directory as the fortune-file." (defun fortune-in-buffer (interactive &optional file) "Put a fortune cookie in the *fortune* buffer. -When INTERACTIVE is nil, don't display it. Optional argument FILE, +INTERACTIVE is ignored. Optional argument FILE, when supplied, specifies the file to choose the fortune from." (let ((fortune-buffer (or (get-buffer fortune-buffer-name) (generate-new-buffer fortune-buffer-name))) |