branch: elpa/annotate
commit cd11acc0db29ba8eef692274f8b0e9a1ce1fe0ab
Author: JenChieh <jcs090...@gmail.com>
Commit: JenChieh <jcs090...@gmail.com>

    fix: wrap entire info setup
---
 annotate.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/annotate.el b/annotate.el
index a1ea0ab008..76110aea29 100644
--- a/annotate.el
+++ b/annotate.el
@@ -2849,9 +2849,9 @@ sophisticated way than plain text."
   "Display Info node FILE-OR-NODE in BUFFER.
 
 Compatibility wrapper for the function `info-setup' and `info-pop-to-buffer'."
-  (if (version< "30" emacs-version)
-      (info-pop-to-buffer file-or-node buffer)
-    (with-no-warnings
+  (with-no-warnings
+    (if (version< "30" emacs-version)
+        (info-pop-to-buffer file-or-node buffer)
       (info-setup file-or-node buffer))))
 
 (defun annotate-summary-show-annotation-button-pressed (button)

Reply via email to