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: Suppress warning in Emacs <30
* lisp/org.el (org-open-at-mouse): Add variable declaration to silence warnings in older Emacs.
This commit is contained in:
parent
ac73e594c9
commit
246c7d5882
@ -8278,9 +8278,12 @@ 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.
|
||||
(defvar warning-suppress-types) ; warnings.el
|
||||
(let ((warning-suppress-types
|
||||
(cons '(org-element org-element-parser)
|
||||
warning-suppress-types)))
|
||||
;; FIXME: Suppress warning in Emacs <30
|
||||
;; (ignore warning-suppress-types)
|
||||
(org-open-at-point)))
|
||||
|
||||
(defvar org-window-config-before-follow-link nil
|
||||
|
Loading…
Reference in New Issue
Block a user