]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/play/fortune.el (fortune-in-buffer): Revert previous nonsense.
authorGlenn Morris <rgm@gnu.org>
Wed, 21 Mar 2018 21:10:41 +0000 (17:10 -0400)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:17:56 +0000 (14:17 +0800)
lisp/play/fortune.el

index ec3a7565dd093fc74408256799c1141001f23c4f..74ace06c011ce8e48a7d7bfe3cfe78bf4da410b0 100644 (file)
@@ -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