Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8ac47af

Browse filesBrowse files
committed
Fix package version extraction logic
1 parent 0bef87c commit 8ac47af
Copy full SHA for 8ac47af

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

‎inf-clojure.el

Copy file name to clipboardExpand all lines: inf-clojure.el
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,9 @@ See http://blog.jorgenschaefer.de/2014/05/race-conditions-in-emacs-process-filte
293293
:link '(emacs-commentary-link :tag "Commentary" "inf-clojure"))
294294

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

300301
(defcustom inf-clojure-prompt-read-only t

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.