0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:47:56 +00:00

Merge branch 'bugfix'

This commit is contained in:
Ihor Radchenko 2024-04-13 15:50:01 +03:00
commit 4d3b216b83
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -1521,8 +1521,9 @@ This function is meant to be used as a possible tool for
(match-string 1 path)))
(file-name (if (not option) path
(substring path 0 (match-beginning 0)))))
(if (string-match "[*?{]" (file-name-nondirectory file-name))
(dired file-name)
(if (and (string-match "[*?{]" (file-name-nondirectory file-name))
(not (file-exists-p file-name)))
(dired file-name)
(apply #'org-open-file
file-name
in-emacs