Skip to content

Commit

Permalink
Fix package version extraction logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Jul 15, 2022
1 parent 0bef87c commit 8ac47af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions inf-clojure.el
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,9 @@ See http://blog.jorgenschaefer.de/2014/05/race-conditions-in-emacs-process-filte
:link '(emacs-commentary-link :tag "Commentary" "inf-clojure"))

(defconst inf-clojure-version
(eval-when-compile
(lm-version (or load-file-name buffer-file-name)))
(or (if (fboundp 'package-get-version)
(package-get-version))
"3.2.0")
"The current version of `inf-clojure'.")

(defcustom inf-clojure-prompt-read-only t
Expand Down

0 comments on commit 8ac47af

Please sign in to comment.