emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org 246c7d5882 2/5: org-open-at-mouse: Suppress


From: ELPA Syncer
Subject: [elpa] externals-release/org 246c7d5882 2/5: org-open-at-mouse: Suppress warning in Emacs <30
Date: Fri, 1 Nov 2024 22:08:21 -0400 (EDT)

branch: externals-release/org
commit 246c7d58829a2301b82db53d3d89f2f276f4e007
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    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.
---
 lisp/org.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/org.el b/lisp/org.el
index 2d70fa6239..2271ca28d1 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]