]> git.eshelyaron.com Git - emacs.git/commitdiff
(sc-version): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Thu, 19 Mar 2009 06:19:24 +0000 (06:19 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 19 Mar 2009 06:19:24 +0000 (06:19 +0000)
lisp/mail/supercite.el

index fc0f591c7e1b68729ea3e27459b97df1950f94ae..0f2ccedadc0dd537dcd96bc2f821baad070585e4 100644 (file)
@@ -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