(riece-version): New command.
* riece.el (riece-command-map): Bind "V" to riece-version.
2003-10-19 Daiki Ueno <ueno@unixuser.org>
+ * riece-version.el (riece-extended-version): Remove interactive spec.
+ (riece-version): New command.
+ * riece.el (riece-command-map): Bind "V" to riece-version.
+
* riece-options.el (riece-command-prefix): New user option.
(riece-tab-stop-list): Abolish.
(defun riece-extended-version ()
"Stringified Riece version and Emacs version.
See the variable `riece-user-agent'."
- (interactive)
(let* ((riece-v
(concat riece-product-name "/"
(prin1-to-string riece-version-number t)))
(when emacs-v
(concat " " emacs-v))))))
+(defun riece-version (&optional arg)
+ "Version number of this version of Riece.
+If ARG, use user-agent format."
+ (interactive "P")
+ (if arg
+ (message "%s" (riece-extended-version))
+ (message "%s" riece-version)))
+
(provide 'riece-version)
;;; riece-version.el ends here
"o" riece-command-set-operators
"\C-p" riece-command-part
"r" riece-command-configure-windows
- "v" riece-command-set-speakers)
+ "v" riece-command-set-speakers
+ "V" riece-version)
(set-keymap-parent riece-command-map riece-dialogue-mode-map)
(riece-define-keys riece-user-list-mode-map