Browse Source

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 years ago
parent
commit
8158131e7a
1 changed files with 1 additions and 4 deletions
  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)))
 	(replace-match rpl t t)))
     (backward-char)))
     (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)
 (defun org-export-latex-emph-format (format string)
   "Format an emphasis string and handle the \\verb special case."
   "Format an emphasis string and handle the \\verb special case."
   (when (member format '("\\verb" "\\protectedtexttt"))
   (when (member format '("\\verb" "\\protectedtexttt"))
     (save-match-data
     (save-match-data
-      (if (and (equal format "\\verb") org-export-latex-use-verb)
+      (if (equal format "\\verb")
 	  (let ((ll "~,./?;':\"|!@#%^&-_=+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<>()[]{}"))
 	  (let ((ll "~,./?;':\"|!@#%^&-_=+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<>()[]{}"))
 	    (catch 'exit
 	    (catch 'exit
 	      (loop for i from 0 to (1- (length ll)) do
 	      (loop for i from 0 to (1- (length ll)) do