1

I cannot call emacs-lisp-docstring-fill-column mentioned here or url-link mentioned here. Neither using M-x nor in code. I use Emacs 28.2. Are these commands provided by a package ? As far as I read, these functions seem to be built in to Emacs. Am I doing something wrong ?

1 Answer 1

0

emacs-lisp-docstring-fill-column is a variable, not a function. You can set it to a value, but you can't 'call' it.

Similarly, in the linked manual, url-link is not a function, but part of a value that is used in defining a customization item. It's not a function that can be called.

2
  • Thank you @Tyler. This line of code :link '(url-link :tag "Homepage" "https://github.com/ymarco/auto-activating-snippets") from auto-activating-snippets was hard to understand. Your answer and the documentation about :tag made it clear. Commented May 26, 2023 at 16:29
  • That single-quote character before the list tells you that the following list is literal data, not a function call. The quote character is itself "syntactic sugar" for the special form quote. The form (quote (url-link :tag [...])) is exactly equivalent to '(url-link :tag [...]). Commented May 31, 2023 at 10:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.