forked from clojure-emacs/clojure-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix clojure-emacs#506] Provide (lm-version) with a buffer with content
the the content should be (at least) the headers up to Version, so that (lm-version) can fetch it.
- Loading branch information
Carlos Requena López
committed
Jan 21, 2019
1 parent
5b109f8
commit e6758c4
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
;; Artur Malabarba <[email protected]> | ||
;; URL: http://github.com/clojure-emacs/clojure-mode | ||
;; Keywords: languages clojure clojurescript lisp | ||
;; version: 5.10.0 | ||
;; Version: 5.10.0 | ||
;; Package-Requires: ((emacs "25.1")) | ||
|
||
;; This file is not part of GNU Emacs. | ||
|
@@ -81,7 +81,10 @@ | |
:link '(url-link :tag "GitHub" "https://github.com/clojure-emacs/clojure-mode") | ||
:link '(emacs-commentary-link :tag "Commentary" "clojure-mode")) | ||
|
||
(defconst clojure-mode-version (lm-version) | ||
(defconst clojure-mode-version | ||
(let ((thisbuffer (or load-file-name buffer-file-name))) | ||
(with-temp-buffer (insert-file-contents thisbuffer) | ||
(lm-version))) | ||
"The current version of `clojure-mode'.") | ||
|
||
(defface clojure-keyword-face | ||
|