Ver código fonte

ox-man: Fix org-man--protect-text

Marco Wahl 7 anos atrás
pai
commit
3df62457be
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lisp/ox-man.el

+ 1 - 1
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))