Merge branch 'bugfix'

This commit is contained in:
Ihor Radchenko 2024-01-11 16:34:59 +01:00
commit 2708a63714
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 3 additions and 3 deletions

View File

@ -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.