[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org b3ceafd0b9 1/2: ol: Fix formatting in org-link--ope
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org b3ceafd0b9 1/2: ol: Fix formatting in org-link--open-elisp |
Date: |
Mon, 31 Jan 2022 06:57:56 -0500 (EST) |
branch: externals/org
commit b3ceafd0b92fe2af6255e73e0a104555a6eb8d27
Author: TEC <tec@tecosaur.com>
Commit: TEC <tec@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 <omar@matem.unam.mx>
in https://list.orgmode.org/87sft58b6r.fsf@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))