branch: externals/org
commit 2708a6371456dded8997f1ea466420b86034cd24
Merge: fad90df535 4145ee4211
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    Merge branch 'bugfix'
---
 lisp/ol-man.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/ol-man.el b/lisp/ol-man.el
index bce71fd38f..e3f13815e2 100644
--- a/lisp/ol-man.el
+++ b/lisp/ol-man.el
@@ -55,9 +55,9 @@ matched strings in man buffer."
   (let* ((command (match-string 1 path))
          ;; FIXME: Remove after we drop Emacs 29 support.
          ;; Working around security bug #66390.
-         (command (if (equal (Man-translate-references ";id") "\\;id")
-                      ;; We are on Emacs that properly escapes man
-                      ;; command args (see Emacs commit 820f0793f0b).
+         (command (if (not (equal (Man-translate-references ";id") ";id"))
+                      ;; We are on Emacs that escapes man command args
+                      ;; (see Emacs commit 820f0793f0b).
                       command
                     ;; Older Emacs without the fix - escape the
                     ;; arguments ourselves.

Reply via email to