Explorar el Código

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

Marco Wahl hace 7 años
padre
commit
3df62457be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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))