aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mh-e
diff options
context:
space:
mode:
authorPaul Eggert2015-09-17 12:28:45 -0700
committerPaul Eggert2015-09-17 12:39:54 -0700
commit753fbfbef484272bcde5214f75fb0846ee3f33df (patch)
treec525c0d926a4a3f66d323079218ffebfa3a867df /lisp/mh-e
parentdc9e7022d5f259642a42535a4db87d2a1d05ae19 (diff)
downloademacs-753fbfbef484272bcde5214f75fb0846ee3f33df.tar.gz
emacs-753fbfbef484272bcde5214f75fb0846ee3f33df.zip
Fix several backslash typos in Elisp strings
* lisp/calendar/todo-mode.el (todo-files, todo-rename-file) (todo-find-filtered-items-file, todo-reset-nondiary-marker) (todo-reset-done-string, todo-reset-comment-string) (todo-reset-highlight-item): * lisp/erc/erc-networks.el (erc-networks-alist): * lisp/gnus/gnus-art.el (gnus-button-handle-library): * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url): * lisp/gnus/nntp.el (nntp-via-shell-prompt) (nntp-telnet-shell-prompt): * lisp/gnus/spam-report.el (spam-report-gmane-regex): * lisp/image-dired.el (image-dired-rotate-original): (image-dired-get-exif-file-name): * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx): * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict): * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p): * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions): * lisp/net/shr-color.el (shr-color->hexadecimal): * lisp/org/org-bibtex.el (org-bibtex-fields): * lisp/org/org-docview.el (org-docview-export): * lisp/org/org-entities.el (org-entities): * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string): * lisp/progmodes/cperl-mode.el (cperl-indent-exp): * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp) (ebnf-style-database): * lisp/progmodes/idlw-help.el (idlwave-do-context-help1): * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block): * lisp/progmodes/sql.el (sql-product-alist): * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist) (verilog-error-font-lock-keywords) (verilog-assignment-operator-re): * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): * lisp/textmodes/reftex-parse.el (reftex-parse-from-file): * lisp/vc/add-log.el (change-log-version-number-regexp-list): 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 "."). * lisp/emulation/viper-util.el (viper-glob-unix-files): Remove stray ‘\j’ from string. * lisp/gnus/nntp.el (nntp-via-shell-prompt) (nntp-telnet-shell-prompt): Treat > like $ when matching a shell prompt. * lisp/progmodes/make-mode.el (makefile-browse): Properly quote a diagnostic.
Diffstat (limited to 'lisp/mh-e')
-rw-r--r--lisp/mh-e/mh-letter.el2
-rw-r--r--lisp/mh-e/mh-mime.el26
2 files changed, 14 insertions, 14 deletions
diff --git a/lisp/mh-e/mh-letter.el b/lisp/mh-e/mh-letter.el
index 62e9b4a357d..de2b2cf7fd9 100644
--- a/lisp/mh-e/mh-letter.el
+++ b/lisp/mh-e/mh-letter.el
@@ -932,7 +932,7 @@ Any match found replaces the text from BEGIN to END."
932 (and (stringp file) 932 (and (stringp file)
933 (file-exists-p file) 933 (file-exists-p file)
934 (or (and (not (mh-have-file-command)) 934 (or (and (not (mh-have-file-command))
935 (not (null (string-match "\.vcf$" file)))) 935 (not (null (string-match "\\.vcf$" file))))
936 (string-equal "text/x-vcard" (mh-file-mime-type file)))))) 936 (string-equal "text/x-vcard" (mh-file-mime-type file))))))
937 937
938;;;###mh-autoload 938;;;###mh-autoload
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index 60b796b1fdb..b69f956d5c2 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -1756,21 +1756,21 @@ Returns nil if file command not on system."
1756 (kill-buffer tmp-buffer))))))) 1756 (kill-buffer tmp-buffer)))))))
1757 1757
1758(defvar mh-file-mime-type-substitutions 1758(defvar mh-file-mime-type-substitutions
1759 '(("application/msword" "\.xls" "application/ms-excel") 1759 '(("application/msword" "\\.xls" "application/ms-excel")
1760 ("application/msword" "\.ppt" "application/ms-powerpoint") 1760 ("application/msword" "\\.ppt" "application/ms-powerpoint")
1761 ("text/plain" "\.vcf" "text/x-vcard") 1761 ("text/plain" "\\.vcf" "text/x-vcard")
1762 ("text/rtf" "\.rtf" "application/rtf") 1762 ("text/rtf" "\\.rtf" "application/rtf")
1763 ("application/x-zip" "\.sxc" "application/vnd.sun.xml.calc") 1763 ("application/x-zip" "\\.sxc" "application/vnd.sun.xml.calc")
1764 ("application/x-zip" "\.sxd" "application/vnd.sun.xml.draw") 1764 ("application/x-zip" "\\.sxd" "application/vnd.sun.xml.draw")
1765 ("application/x-zip" "\.sxi" "application/vnd.sun.xml.impress") 1765 ("application/x-zip" "\\.sxi" "application/vnd.sun.xml.impress")
1766 ("application/x-zip" "\.sxw" "application/vnd.sun.xml.writer") 1766 ("application/x-zip" "\\.sxw" "application/vnd.sun.xml.writer")
1767 ("application/x-zip" "\.odg" "application/vnd.oasis.opendocument.graphics") 1767 ("application/x-zip" "\\.odg" "application/vnd.oasis.opendocument.graphics")
1768 ("application/x-zip" "\.odi" "application/vnd.oasis.opendocument.image") 1768 ("application/x-zip" "\\.odi" "application/vnd.oasis.opendocument.image")
1769 ("application/x-zip" "\.odp" 1769 ("application/x-zip" "\\.odp"
1770 "application/vnd.oasis.opendocument.presentation") 1770 "application/vnd.oasis.opendocument.presentation")
1771 ("application/x-zip" "\.ods" 1771 ("application/x-zip" "\\.ods"
1772 "application/vnd.oasis.opendocument.spreadsheet") 1772 "application/vnd.oasis.opendocument.spreadsheet")
1773 ("application/x-zip" "\.odt" "application/vnd.oasis.opendocument.text")) 1773 ("application/x-zip" "\\.odt" "application/vnd.oasis.opendocument.text"))
1774 "Substitutions to make for Content-Type returned from file command. 1774 "Substitutions to make for Content-Type returned from file command.
1775The first element is the Content-Type returned by the file command. 1775The first element is the Content-Type returned by the file command.
1776The second element is a regexp matching the file name, usually the 1776The second element is a regexp matching the file name, usually the