Преглед на файлове

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

Marco Wahl преди 7 години
родител
ревизия
3df62457be
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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))