After installing the browse-kill-ring package under Emacs 24.5.1, I get the following error when running the browse-kill-ring command:

font-lock-set-defaults: Wrong type argument: symbolp, (font-lock-fontify-region-function . browse-kill-ring-fontify-region)

What is going wrong and how do I fix it?

  • Do you see the same problem when you start Emacs using emacs -Q (no init file)? If so, consider reporting a bug to the library maintainer. If not, recursively bisect your init file until you find the culprit. FWIW, I see no such problem, using Emacs 24.5. – Drew Dec 19 '17 at 18:05
  • Yes, I still see the same problem after only (package-initialize) and (require 'browse-kill-ring). However, others don't seem to observe this... – AlwaysLearning Dec 19 '17 at 18:51
  • 1
    The latest commit by the developer approximately 21 hours ago appears to discuss this same topic -- perhaps the bug was just introduced recently by the developer: github.com/browse-kill-ring/browse-kill-ring Here is a link to the commit: github.com/browse-kill-ring/browse-kill-ring/commit/… There may be additional related commit history -- I have not looked at each commit prior to the most recent commit. – lawlist Dec 19 '17 at 19:01
  • 1
    @lawlist Maybe, that issue is already solved in the git repository: github.com/browse-kill-ring/browse-kill-ring/issues/62 – Tobias Dec 19 '17 at 19:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.