summaryrefslogtreecommitdiff
path: root/lisp/mail/supercite.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-03-19 06:19:24 +0000
committerGlenn Morris <rgm@gnu.org>2009-03-19 06:19:24 +0000
commit7ca46ac7e326789367023dd705c0101ea8ed7732 (patch)
treef73f6904ce78fbd087a5fb597d660393ac394a5a /lisp/mail/supercite.el
parent241625c32e5a4d8222f7d80aede2aa216489de69 (diff)
downloademacs-7ca46ac7e326789367023dd705c0101ea8ed7732.tar.gz
(sc-version): Doc fix.
Diffstat (limited to 'lisp/mail/supercite.el')
-rw-r--r--lisp/mail/supercite.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el
index fc0f591c7e1..0f2ccedadc0 100644
--- a/lisp/mail/supercite.el
+++ b/lisp/mail/supercite.el
@@ -1968,10 +1968,12 @@ cited."
(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