Skip to content
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

use #' to quote functions #3

Merged
merged 1 commit into from
May 20, 2016
Merged

Conversation

robert-zaremba
Copy link
Contributor

kill-ring-save doesn't work in latest Emacs without correct quotation. When quoting it with function (#') everything works.

#' it is similar to quote (see Quoting). But unlike quote, it also serves as a note to the Emacs evaluator and byte-compiler that function-object is intended to be used as a function. [1]

[1] http://www.gnu.org/software/emacs/manual/html_node/elisp/Anonymous-Functions.html#Anonymous-Functions

`kill-ring-save` doesn't work in latest Emacs without correct quotation. When quoting it with `function` (`#''`) everything works.

`#'`  it is similar to quote (see Quoting). But unlike quote, it also serves as a note to the Emacs evaluator and byte-compiler that function-object is intended to be used as a function. [1]

[1] http://www.gnu.org/software/emacs/manual/html_node/elisp/Anonymous-Functions.html#Anonymous-Functions
@robert-zaremba
Copy link
Contributor Author

My mistake in the configuration. The package works without this changeset, though still worth merging.

@m2ym m2ym merged commit 5679815 into emacsorphanage:master May 20, 2016
@m2ym
Copy link
Contributor

m2ym commented May 20, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants