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
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.
-
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:tagmade it clear.Tristan– Tristan2023-05-26 16:29:42 +00:00Commented 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 [...]).Phil Hudson– Phil Hudson2023-05-31 10:40:38 +00:00Commented May 31, 2023 at 10:40