Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Commit

Permalink
* lisp/play/fortune.el (fortune-in-buffer): Unadvertise no-op arg.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgmorris committed Mar 21, 2018
1 parent 03a27fa commit e0080b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lisp/play/fortune.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0080b8

Please sign in to comment.