Permalink
Browse files

Add variable and interactive function wcheck-version

  • Loading branch information...
1 parent 28211c7 commit ddf2bb954642305047d1f02218a7142ba5c24e87 @tlikonen committed Nov 4, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 wcheck-mode.el
View
@@ -70,6 +70,21 @@
;;; Settings
+(defconst wcheck-version "2012.01.29"
+ "`wcheck-mode' version string.")
+
+
+;;;###autoload
+(defun wcheck-version (&optional here)
+ "Print string describing `wcheck-mode's version.
+If optional argument HERE is non-nil, insert the version string
+at point."
+ (interactive "P")
+ (if here
+ (insert wcheck-version)
+ (message "%s" wcheck-version)))
+
+
;;;###autoload
(defgroup wcheck nil
"General interface for text checkers."

0 comments on commit ddf2bb9

Please sign in to comment.