monnier pushed a commit to branch master in repository elpa. commit ddf2bb954642305047d1f02218a7142ba5c24e87 Author: Teemu Likonen <tliko...@iki.fi> Date: Sun Nov 4 17:46:11 2012 +0200
Add variable and interactive function wcheck-version --- wcheck-mode.el | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/wcheck-mode.el b/wcheck-mode.el index 1904848..31e5f85 100644 --- a/wcheck-mode.el +++ b/wcheck-mode.el @@ -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."