emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] feature/gnus-select e31b277 152/218: * lisp/play/fortune.e


From: Andrew G Cohen
Subject: [Emacs-diffs] feature/gnus-select e31b277 152/218: * lisp/play/fortune.el (fortune-in-buffer): Unadvertise no-op arg.
Date: Fri, 14 Dec 2018 03:35:20 -0500 (EST)

branch: feature/gnus-select
commit e31b2771e7dfedb280804ee8203f40af6d3bf8ed
Author: Glenn Morris <address@hidden>
Commit: Andrew G Cohen <address@hidden>

    * lisp/play/fortune.el (fortune-in-buffer): Unadvertise no-op arg.
---
 lisp/play/fortune.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/play/fortune.el b/lisp/play/fortune.el
index 74ace06..ec3a756 100644
--- a/lisp/play/fortune.el
+++ b/lisp/play/fortune.el
@@ -283,8 +283,9 @@ 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.
-INTERACTIVE is ignored.  Optional argument FILE, when supplied,
-specifies the file to choose the fortune from."
+Optional argument FILE, when supplied, specifies the file to
+choose the fortune from."
+  (declare (advertised-calling-convention (&optional file) "27.1"))
   (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]