fix(emacs-lisp): docstring url format which error popup

In emacs 29 wrong quotes in docstrings throw up compilation errors,
which pop up randomly with no real context when using doom. I have found
a reference to url's being single quoted in the emacs wiki[0], but the
emacs manual shows the standard format[1], not sure if it changed or was
a mistake. Also it should have a URL prefix apparently.

[0]: https://www.emacswiki.org/emacs/DocString
[1]: info elisp 'Documentation tips'
This commit is contained in:
Itai Y. Efrat 2023-01-01 02:05:55 +02:00 committed by Henrik Lissner
parent 307ae53dff
commit a1903ac4d5

View file

@ -413,7 +413,7 @@ Intended as :around advice for `elisp-demos--search'."
Intended as :override advice for `calculate-lisp-indent'.
Adapted from 'https://www.reddit.com/r/emacs/comments/d7x7x8/finally_fixing_indentation_of_quoted_lists/'."
Adapted from URL `https://www.reddit.com/r/emacs/comments/d7x7x8/finally_fixing_indentation_of_quoted_lists/'."
;; This line because `calculate-lisp-indent-last-sexp` was defined with
;; `defvar` with it's value ommited, marking it special and only defining it
;; locally. So if you don't have this, you'll get a void variable error.