emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3b42c08: * lisp/play/fortune.el (fortune-in-buffer)


From: Glenn Morris
Subject: [Emacs-diffs] master 3b42c08: * lisp/play/fortune.el (fortune-in-buffer): Revert previous nonsense.
Date: Wed, 21 Mar 2018 17:10:49 -0400 (EDT)

branch: master
commit 3b42c083b658649a300594a5499db73b0a49152f
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/play/fortune.el (fortune-in-buffer): Revert previous nonsense.
---
 lisp/play/fortune.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/play/fortune.el b/lisp/play/fortune.el
index e6c9c22..740f436 100644
--- a/lisp/play/fortune.el
+++ b/lisp/play/fortune.el
@@ -283,9 +283,8 @@ and choose the directory as the fortune-file."
 ;;; Display fortune
 (defun fortune-in-buffer (_interactive &optional file)
   "Put a fortune cookie in the *fortune* buffer.
-Optional argument FILE, when supplied, specifies the file to
-choose the fortune from."
-  (declare (advertised-calling-convention (&optional file) "27.1"))
+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)))
        (fort-file (expand-file-name



reply via email to

[Prev in Thread] Current Thread [Next in Thread]