[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org e7ea951ac9: ol: Fix formatting in org-link--open-sh
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org e7ea951ac9: ol: Fix formatting in org-link--open-shell |
Date: |
Tue, 1 Feb 2022 07:02:08 -0500 (EST) |
branch: externals/org
commit e7ea951ac976ac78d4f6c3df9979bb9e942ef086
Author: TEC <tec@tecosaur.com>
Commit: TEC <tec@tecosaur.com>
ol: Fix formatting in org-link--open-shell
* lisp/ol.el (org-link--open-shell): 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 Max Nikulin <manikulin@gmail.com>
in https://list.orgmode.org/2c23e039-7215-3d6e-13a2-cb244563f347@gmail.com
---
lisp/ol.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ol.el b/lisp/ol.el
index 062394486b..722729e007 100644
--- a/lisp/ol.el
+++ b/lisp/ol.el
@@ -1377,7 +1377,7 @@ PATH is the command to execute, as a string."
(string-match-p org-link-shell-skip-confirm-regexp path))
(not org-link-shell-confirm-function)
(funcall org-link-shell-confirm-function
- (format "Execute %S in shell? "
+ (format "Execute %s in shell? "
(org-add-props path nil 'face 'org-warning))))
(let ((buf (generate-new-buffer "*Org Shell Output*")))
(message "Executing %s" path)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org e7ea951ac9: ol: Fix formatting in org-link--open-shell,
ELPA Syncer <=