From b34f8bc1f43e353c428e15c457c03f0bfa0d6ffc Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 9 Nov 2024 14:49:20 +0100 Subject: [PATCH] org-open-at-mouse: Fix Emacs<30 * lisp/org.el (org-open-at-mouse): Load warnings.el - it is not autoloaded in older Emacs. --- lisp/org.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org.el b/lisp/org.el index 7e4122eba..fdb66de0c 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)