1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-21 06:55:35 +00:00

org-open-at-mouse: Fix Emacs<30

* lisp/org.el (org-open-at-mouse): Load warnings.el - it is not
autoloaded in older Emacs.
This commit is contained in:
Ihor Radchenko 2024-11-09 14:49:20 +01:00
parent 23a3c82532
commit b34f8bc1f4
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -8278,6 +8278,7 @@ See the docstring of `org-open-file' for details."
;; link abbreviations. So, suppressing parser complains about
;; non-Org buffer to keep the feature working at least to the extent
;; it did before.
(require 'warnings) ; Emacs <30
(defvar warning-suppress-types) ; warnings.el
(let ((warning-suppress-types
(cons '(org-element org-element-parser)