File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 5
5
### New Features
6
6
7
7
* [ #34 ] ( https://github.com/clojure-emacs/inf-clojure/pull/34 ) : Add support for socket REPL connections.
8
+ * New interactive command ` inf-clojure-display-version ` .
8
9
9
10
### Bugs Fixed
10
11
Original file line number Diff line number Diff line change 48
48
" Run an external Clojure process (REPL) in an Emacs buffer."
49
49
:group 'clojure )
50
50
51
+ (defconst inf-clojure-version " 1.5.0-snapshot"
52
+ " The current version of `inf-clojure' ." )
53
+
51
54
(defcustom inf-clojure-prompt-read-only t
52
55
" If non-nil, the prompt will be read-only.
53
56
@@ -83,7 +86,9 @@ mode. Default is whitespace followed by 0 or 1 single-letter colon-keyword
83
86
[" Show documentation for var" inf-clojure-show-var-documentation t]
84
87
[" Show source for var" inf-clojure-show-var-source t]
85
88
" --"
86
- [" Clear REPL" inf-clojure-clear-repl-buffer]))
89
+ [" Clear REPL" inf-clojure-clear-repl-buffer]
90
+ " --"
91
+ [" Version" inf-clojure-display-version]))
87
92
map))
88
93
89
94
(defvar inf-clojure-minor-mode-map
@@ -777,6 +782,11 @@ Return the number of nested sexp the point was over or after."
777
782
(setq-local eldoc-documentation-function #'inf-clojure-eldoc )
778
783
(apply #'eldoc-add-command inf-clojure-extra-eldoc-commands))
779
784
785
+ (defun inf-clojure-display-version ()
786
+ " Display the current `inf-clojure' in the minibuffer."
787
+ (interactive )
788
+ (message " inf-clojure (version %s ) " inf-clojure-version))
789
+
780
790
(provide 'inf-clojure )
781
791
782
792
; ;; inf-clojure.el ends here
You can’t perform that action at this time.
0 commit comments