From a1903ac4d5bc1dceda80acf57eea2c8304a124b0 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Sun, 1 Jan 2023 02:05:55 +0200 Subject: [PATCH] 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' --- modules/lang/emacs-lisp/autoload.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/emacs-lisp/autoload.el b/modules/lang/emacs-lisp/autoload.el index e08c63bdb..9e1aadbe3 100644 --- a/modules/lang/emacs-lisp/autoload.el +++ b/modules/lang/emacs-lisp/autoload.el @@ -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.