aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2015-09-16 15:52:09 -0700
committerPaul Eggert2015-09-16 15:59:13 -0700
commitdc436dd77f70dbc2e294a1fd2d69a332f1413fa5 (patch)
tree84ba3af906962c65120fa1194b6908127d1a86a4 /doc
parent8865587c55f251ac624e6730505de66d15b28562 (diff)
downloademacs-dc436dd77f70dbc2e294a1fd2d69a332f1413fa5.tar.gz
emacs-dc436dd77f70dbc2e294a1fd2d69a332f1413fa5.zip
Minor backslash fixes in manuals and scripts
* Makefile.in (install-arch-indep): * admin/charsets/compact.awk: * admin/charsets/gb180302.awk (gb_to_index): * admin/charsets/gb180304.awk (gb_to_index): Avoid undefined behavior in Awk regular expression backslashes. * doc/misc/efaq.texi (Matching parentheses): Omit unnecessary backslashes. * doc/misc/gnus-faq.texi (FAQ 5-8): Avoid undefined behavior in suggested sed backslash usage.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/efaq.texi4
-rw-r--r--doc/misc/gnus-faq.texi2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 3e9109d0924..6557f4d017b 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -2089,8 +2089,8 @@ parenthesis, it simply inserts a % like normal.
2089(defun match-paren (arg) 2089(defun match-paren (arg)
2090 "Go to the matching paren if on a paren; otherwise insert %." 2090 "Go to the matching paren if on a paren; otherwise insert %."
2091 (interactive "p") 2091 (interactive "p")
2092 (cond ((looking-at "\\s\(") (forward-list 1) (backward-char 1)) 2092 (cond ((looking-at "\\s(") (forward-list 1) (backward-char 1))
2093 ((looking-at "\\s\)") (forward-char 1) (backward-list 1)) 2093 ((looking-at "\\s)") (forward-char 1) (backward-list 1))
2094 (t (self-insert-command (or arg 1))))) 2094 (t (self-insert-command (or arg 1)))))
2095@end lisp 2095@end lisp
2096 2096
diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi
index 19c78bf56c6..26b9210b0dd 100644
--- a/doc/misc/gnus-faq.texi
+++ b/doc/misc/gnus-faq.texi
@@ -1528,7 +1528,7 @@ and create the actual X-face by saying
1528 1528
1529@example 1529@example
1530cat file.xbm | xbm2ikon | compface > file.face 1530cat file.xbm | xbm2ikon | compface > file.face
1531cat file.face | sed 's/\\/\\\\/g;s/\"/\\\"/g;' > file.face.quoted 1531cat file.face | sed 's/["\\]/\\&/g' > file.face.quoted
1532@end example 1532@end example
1533@noindent 1533@noindent
1534 1534