Skip to content

[Fix #506] fix clojure-mode-display-version #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2019

Conversation

carlosgeos
Copy link
Contributor

@carlosgeos carlosgeos commented Jan 21, 2019

lm-version was returning nil, since it tried to look at the buffer headers to get the version, but it couldn't during load. I gave the contents of clojure-mode.el, in a temporary buffer to (lm-version) so it can read it.

Perhaps all the contents of clojure-mode.el should not be copied over to the temporary buffer. Should this buffer contain only part of it (only the file headers for example) ?


  • The commits are consistent with our [contribution guidelines][1].
  • You've added tests (if possible) to cover your change(s). Bugfix, indentation, and font-lock tests are extremely important!
  • You've run M-x checkdoc and fixed any warnings in the code you've written.
  • You've updated the changelog (if adding/changing user-visible functionality).
  • You've updated the readme (if adding/changing user-visible functionality).

Copy link
Member

@cichli cichli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. My only nit is that the commit messages should be capitalised.

…al version

`clojure-mode-display-version` displays the correct version (was displaying nil)

also added some tests
cichli added a commit to cichli/clojure-mode that referenced this pull request Feb 27, 2019
@cichli cichli merged commit 344e382 into clojure-emacs:master Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants