branch: externals/org commit b3ceafd0b92fe2af6255e73e0a104555a6eb8d27 Author: TEC <t...@tecosaur.com> Commit: TEC <t...@tecosaur.com>
ol: Fix formatting in org-link--open-elisp * lisp/ol.el (org-link--open-elisp): The %S token in the format string causes the propertization to be printed as a structure, instead of styling the path string. This is clearly not the intended behaviour. Reported by Omar AntolĂn Camarena <o...@matem.unam.mx> in https://list.orgmode.org/87sft58b6r....@matem.unam.mx --- lisp/ol.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ol.el b/lisp/ol.el index b80f943b2b..062394486b 100644 --- a/lisp/ol.el +++ b/lisp/ol.el @@ -1322,7 +1322,7 @@ PATH is the sexp to evaluate, as a string." (string-match-p org-link-elisp-skip-confirm-regexp path)) (not org-link-elisp-confirm-function) (funcall org-link-elisp-confirm-function - (format "Execute %S as Elisp? " + (format "Execute %s as Elisp? " (org-add-props path nil 'face 'org-warning)))) (message "%s => %s" path (if (eq ?\( (string-to-char path))