summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-08-20 18:24:09 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-08-20 18:24:09 +0200
commit557ce7c01cafec92561d23e5b572b03c53d3c3d7 (patch)
tree65fb668519e9b39c2093c9bb225ba7c7ef492117
parent4a028cc7c0bf1a23d45ef05b954f89c4eb1e644a (diff)
downloadorg-mode-557ce7c01cafec92561d23e5b572b03c53d3c3d7.tar.gz
Revert "Search for LaTeX setup case-insensitively"
This reverts commit 034dbac3eecdd67c83407f55cd920d3720400055.
-rw-r--r--lisp/org-beamer.el8
-rw-r--r--lisp/org-latex.el10
2 files changed, 6 insertions, 12 deletions
diff --git a/lisp/org-beamer.el b/lisp/org-beamer.el
index ea3a3f9..2631e70 100644
--- a/lisp/org-beamer.el
+++ b/lisp/org-beamer.el
@@ -438,10 +438,8 @@ The effect is that these values will be accessible during export."
(save-restriction
(widen)
(goto-char (point-min))
- (and (let ((case-fold-search t))
- (re-search-forward
- "^#\\+BEAMER_FRAME_LEVEL:[ \t]*\\(.*?\\)[ \t]*$"
- nil t))
+ (and (re-search-forward
+ "^#\\+BEAMER_FRAME_LEVEL:[ \t]*\\(.*?\\)[ \t]*$" nil t)
(match-string 1))))
(plist-get org-export-latex-options-plist :beamer-frame-level)
org-beamer-frame-level))
@@ -463,7 +461,7 @@ The effect is that these values will be accessible during export."
(save-excursion
(save-restriction
(widen)
- (let ((txt "") (case-fold-search t))
+ (let ((txt ""))
(goto-char (point-min))
(while (re-search-forward
"^#\\+BEAMER_HEADER_EXTRA:[ \t]*\\(.*?\\)[ \t]*$"
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index b587666..4f27f42 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -1124,9 +1124,7 @@ LEVEL indicates the default depth for export."
(save-restriction
(widen)
(goto-char (point-min))
- (and (let ((case-fold-search t))
- (re-search-forward
- "^#\\+LaTeX_CLASS:[ \t]*\\(-[a-zA-Z]+\\)" nil t))
+ (and (re-search-forward "^#\\+LaTeX_CLASS:[ \t]*\\(-[a-zA-Z]+\\)" nil t)
(match-string 1))))
(plist-get org-export-latex-options-plist :latex-class)
org-export-latex-default-class)
@@ -1140,10 +1138,8 @@ LEVEL indicates the default depth for export."
(save-restriction
(widen)
(goto-char (point-min))
- (and (let ((case-fold-search t))
- (re-search-forward
- "^#\\+LaTeX_CLASS_OPTIONS:[ \t]*\\(.*?\\)[ \t]*$" nil t)
- (match-string 1)))))
+ (and (re-search-forward "^#\\+LaTeX_CLASS_OPTIONS:[ \t]*\\(.*?\\)[ \t]*$" nil t)
+ (match-string 1))))
(plist-get org-export-latex-options-plist :latex-class-options))
org-export-latex-class
(or (car (assoc org-export-latex-class org-export-latex-classes))