diff --git a/modules/lang/emacs-lisp/autoload.el b/modules/lang/emacs-lisp/autoload.el index 9e1aadbe3..5eb7ee499 100644 --- a/modules/lang/emacs-lisp/autoload.el +++ b/modules/lang/emacs-lisp/autoload.el @@ -392,7 +392,7 @@ Intended as :around advice for `elisp-demos--search'." (or (funcall fn symbol) (with-file-contents! (doom-path doom-docs-dir "examples.org") (save-excursion - (when (re-search-backward + (when (re-search-forward (format "^\\*+[ \t]+\\(?:TODO \\)?%s$" (regexp-quote (symbol-name symbol))) nil t)