Skip to content

Commit ccbdebb

Browse files
committed
- [X] Add an interactive command for displaying the current version
1 parent e54f73d commit ccbdebb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

psci.el

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@
5151
(defvar psci/buffer-name "psci"
5252
"Buffer name of the psci buffer.")
5353

54+
(defconst *psci/version* "0.0.4" "The version of psci.")
55+
56+
;;;###autoload
57+
(defun psci/version ()
58+
"Display the version of the mode."
59+
(interactive)
60+
(message "psci-mode version - %s" *psci/version*))
61+
5462
(defun psci/process-name (buffer-name)
5563
"Compute the buffer's process name based on BUFFER-NAME."
5664
(format "*%s*" buffer-name))

0 commit comments

Comments
 (0)