summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Wahl <marcowahlsoft@gmail.com>2017-10-20 12:21:08 +0200
committerMarco Wahl <marcowahlsoft@gmail.com>2017-10-20 12:21:08 +0200
commit3df62457beee95a8244c674891bec4a06e9c6098 (patch)
treef6bcf92a4d997c80439fec3b9e415078d561d1e6
parent37142cea78b97498ff9c99ba86c8f05d0ab31ca9 (diff)
downloadorg-mode-3df62457beee95a8244c674891bec4a06e9c6098.tar.gz
ox-man: Fix org-man--protect-text
-rw-r--r--lisp/ox-man.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-man.el b/lisp/ox-man.el
index 8396df6..6fb3041 100644
--- a/lisp/ox-man.el
+++ b/lisp/ox-man.el
@@ -287,7 +287,7 @@ This function shouldn't be used for floats. See
(defun org-man--protect-text (text)
"Protect minus and backslash characters in string TEXT."
- (replace-regexp-in-string "-" "\\-" nil t))
+ (replace-regexp-in-string "-" "\\-" text nil t))