Mercurial > emacs
changeset 102651:7040f7fa8fef
(sc-version): Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 19 Mar 2009 06:19:24 +0000 |
parents | 316f8efbaeae |
children | e34cdd6bbf86 |
files | lisp/mail/supercite.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/supercite.el Thu Mar 19 06:12:58 2009 +0000 +++ b/lisp/mail/supercite.el Thu Mar 19 06:19:24 2009 +0000 @@ -1968,10 +1968,12 @@ (insert (sc-mail-field "sc-citation")) (error "Line is already cited")))) +;; The argument logic here is crazy. (defun sc-version (message) - "Echo the current version of Supercite in the minibuffer. + "Return the current Supercite version. If MESSAGE is non-nil (interactively, with no prefix argument), -inserts the version string in the current buffer instead." +echoes the version in the minibuffer. Otherwise, inserts the +version at point." (interactive (list (not current-prefix-arg))) (let ((verstr (format "Using Supercite.el %s" emacs-version))) (if message