Skip to content

Use #' for function references#206

Merged
bbatsov merged 1 commit into
masterfrom
sharp-quote-functions
Jul 1, 2026
Merged

Use #' for function references#206
bbatsov merged 1 commit into
masterfrom
sharp-quote-functions

Conversation

@bbatsov

@bbatsov bbatsov commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Sharp-quote the plain-quoted function symbols passed to mapcar, sort, mapconcat and to the Helm source slots (candidates-process, filter-one-by-one, persistent-action, action-transformer, match) so the byte-compiler can verify they name real functions. Also drops a pointless funcall around run-with-timer. Every converted symbol was checked to be fboundp (and not a variable), so there's no behavior change.

  • The commits are consistent with our contribution guidelines
  • The new code is not generating bytecode or M-x checkdoc warnings
  • You've updated the changelog
  • You've updated the readme (no user-facing change)

Sharp-quote the plain-quoted function symbols passed to mapcar, sort,
mapconcat and to Helm source slots (candidates-process, match,
persistent-action, action-transformer, ...) so the byte-compiler can
check they name real functions. Also call `run-with-timer' directly
instead of through a pointless `funcall'. No behavior change.
@bbatsov bbatsov merged commit 890d14a into master Jul 1, 2026
10 checks passed
@bbatsov bbatsov deleted the sharp-quote-functions branch July 1, 2026 18:22
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.

1 participant