瀏覽代碼

Remove org-export-latex-use-verb.

* org-latex.el (org-export-latex-emph-format): Don't use
`org-export-latex-use-verb'.  Remove this variable.

This variable was introduced by Carsten for testing purpose,
it was not meant to be a user variable.
Bastien Guerry 14 年之前
父節點
當前提交
8158131e7a
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      lisp/org-latex.el

+ 1 - 4
lisp/org-latex.el

@@ -1978,14 +1978,11 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
 	(replace-match rpl t t)))
     (backward-char)))
 
-(defvar org-export-latex-use-verb t
-  "Toggle the use of \\verb for ~ emphasis.
-Set to nil for \\texttt, t for \\verb.")
 (defun org-export-latex-emph-format (format string)
   "Format an emphasis string and handle the \\verb special case."
   (when (member format '("\\verb" "\\protectedtexttt"))
     (save-match-data
-      (if (and (equal format "\\verb") org-export-latex-use-verb)
+      (if (equal format "\\verb")
 	  (let ((ll "~,./?;':\"|!@#%^&-_=+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<>()[]{}"))
 	    (catch 'exit
 	      (loop for i from 0 to (1- (length ll)) do