summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-09-17 12:28:45 -0700
committerKyle Meyer <kyle@kyleam.com>2015-09-21 18:38:39 -0400
commit41e9733d2fe2603572cc580fa8e7183027f1951e (patch)
treeb112f162102b487268eab695fc737a38ca0d08ec
parent0839dc4322da1335e0168e63ad2e99fb375ee8b6 (diff)
downloadorg-mode-41e9733d2fe2603572cc580fa8e7183027f1951e.tar.gz
Backport commit 753fbfb from Emacs master branch
* lisp/org-bibtex.el (org-bibtex-fields): * lisp/org-docview.el (org-docview-export): * lisp/org-entities.el (org-entities): * lisp/ox-icalendar.el (org-icalendar-cleanup-string): Fix typo by replacing ‘\’ with ‘\\’ in a string literal. For example, to get the regular expression ‘\.’ use the string literal "\\.", not "\." (which is equivalent to "."). Fix several backslash typos in Elisp strings 753fbfbef484272bcde5214f75fb0846ee3f33df Paul Eggert Thu Sep 17 12:39:54 2015 -0700
-rw-r--r--lisp/org-bibtex.el2
-rw-r--r--lisp/org-docview.el2
-rw-r--r--lisp/org-entities.el4
-rw-r--r--lisp/ox-icalendar.el2
4 files changed, 5 insertions, 5 deletions
diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el
index 137303a..4622702 100644
--- a/lisp/org-bibtex.el
+++ b/lisp/org-bibtex.el
@@ -195,7 +195,7 @@
(:howpublished . "How something strange has been published. The first word should be capitalized.")
(:institution . "The sponsoring institution of a technical report.")
(:journal . "A journal name.")
- (:key . "Used for alphabetizing, cross-referencing, and creating a label when the author information is missing. This field should not be confused with the key that appears in the \cite command and at the beginning of the database entry.")
+ (:key . "Used for alphabetizing, cross-referencing, and creating a label when the author information is missing. This field should not be confused with the key that appears in the \\cite command and at the beginning of the database entry.")
(:month . "The month in which the work was published or, for an unpublished work, in which it was written. You should use the standard three-letter abbreviation,")
(:note . "Any additional information that can help the reader. The first word should be capitalized.")
(:number . "Any additional information that can help the reader. The first word should be capitalized.")
diff --git a/lisp/org-docview.el b/lisp/org-docview.el
index 479f4ff..e3bf5fd 100644
--- a/lisp/org-docview.el
+++ b/lisp/org-docview.el
@@ -61,7 +61,7 @@
(setq path (org-link-escape (expand-file-name path)))
(cond
((eq format 'html) (format "<a href=\"%s\">%s</a>" path desc))
- ((eq format 'latex) (format "\href{%s}{%s}" path desc))
+ ((eq format 'latex) (format "\\href{%s}{%s}" path desc))
((eq format 'ascii) (format "%s (%s)" desc path))
(t path)))))
diff --git a/lisp/org-entities.el b/lisp/org-entities.el
index cca42e3..112088d 100644
--- a/lisp/org-entities.el
+++ b/lisp/org-entities.el
@@ -361,8 +361,8 @@ packages to be loaded, add these packages to `org-latex-packages-alist'."
("lessgtr" "\\lessgtr" t "&lessgtr;" "[less than or greater than]" "[less than or greater than]" "≶")
("lesseqgtr" "\\lesseqgtr" t "&lesseqgtr;" "[less than or equal or greater than or equal]" "[less than or equal or greater than or equal]" "⋚")
("ll" "\\ll" t "&Lt;" "<<" "<<" "≪")
- ("Ll" "\lll" t "&Ll;" "<<<" "<<<" "⋘")
- ("lll" "\lll" t "&Ll;" "<<<" "<<<" "⋘")
+ ("Ll" "\\lll" t "&Ll;" "<<<" "<<<" "⋘")
+ ("lll" "\\lll" t "&Ll;" "<<<" "<<<" "⋘")
("gg" "\\gg" t "&Gt;" ">>" ">>" "≫")
("Gg" "\\ggg" t "&Gg;" ">>>" ">>>" "⋙")
("ggg" "\\ggg" t "&Gg;" ">>>" ">>>" "⋙")
diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el
index ae16151..aefddf8 100644
--- a/lisp/ox-icalendar.el
+++ b/lisp/ox-icalendar.el
@@ -450,7 +450,7 @@ or subject for the event."
;; characters with literal \n.
(replace-regexp-in-string
"[ \t]*\n" "\\n"
- (replace-regexp-in-string "[\\,;]" "\\\&" s)
+ (replace-regexp-in-string "[\\,;]" "\\\\\\&" s)
nil t)))
(defun org-icalendar-fold-string (s)