aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-09-16 16:06:29 -0700
committerPaul Eggert2015-09-16 16:07:15 -0700
commite56096dbb9560b558f74d2b21e21659e221b914c (patch)
tree90c280db9f383031d44b95cf972357019926c9a1
parentdc436dd77f70dbc2e294a1fd2d69a332f1413fa5 (diff)
downloademacs-e56096dbb9560b558f74d2b21e21659e221b914c.tar.gz
emacs-e56096dbb9560b558f74d2b21e21659e221b914c.zip
Minor quoting fixes in scripts and doc
Prefer straight quotes in random script files, as they are not converted. Prefer grave quotes in a couple of places in the manual that were missed earlier, as these quotes are converted.
-rw-r--r--admin/charsets/eucjp-ms.awk3
-rw-r--r--admin/coccinelle/vector_contents.cocci2
-rwxr-xr-xadmin/make-emacs2
-rw-r--r--doc/emacs/emacs.texi2
-rw-r--r--doc/emacs/search.texi2
-rw-r--r--etc/emacs-buffer.gdb24
-rw-r--r--lib-src/Makefile.in18
-rw-r--r--test/automated/Makefile.in2
8 files changed, 27 insertions, 28 deletions
diff --git a/admin/charsets/eucjp-ms.awk b/admin/charsets/eucjp-ms.awk
index 59c6388b25c..24152b44eff 100644
--- a/admin/charsets/eucjp-ms.awk
+++ b/admin/charsets/eucjp-ms.awk
@@ -24,7 +24,7 @@
24# http://home.m05.itscom.net/numa/cde/ucs-conv/appendix.html 24# http://home.m05.itscom.net/numa/cde/ucs-conv/appendix.html
25# This program reads the mapping file EUC-JP-MS (of glibc) and 25# This program reads the mapping file EUC-JP-MS (of glibc) and
26# generates the Elisp file eucjp-ms.el that defines two translation 26# generates the Elisp file eucjp-ms.el that defines two translation
27# tables `eucjp-ms-decode' and `eucjp-ms-encode'. 27# tables 'eucjp-ms-decode' and 'eucjp-ms-encode'.
28 28
29BEGIN { 29BEGIN {
30 FS = "[ \t][ \t]*" 30 FS = "[ \t][ \t]*"
@@ -109,4 +109,3 @@ END {
109 print ""; 109 print "";
110 print "(provide 'eucjp-ms)"; 110 print "(provide 'eucjp-ms)";
111} 111}
112
diff --git a/admin/coccinelle/vector_contents.cocci b/admin/coccinelle/vector_contents.cocci
index 3c696ffd237..10b01f2bbd4 100644
--- a/admin/coccinelle/vector_contents.cocci
+++ b/admin/coccinelle/vector_contents.cocci
@@ -1,4 +1,4 @@
1// Avoid direct access to `contents' member of 1// Avoid direct access to 'contents' member of
2// Lisp_Vector, use AREF and ASET where possible. 2// Lisp_Vector, use AREF and ASET where possible.
3@expression@ 3@expression@
4identifier I1, I2; 4identifier I1, I2;
diff --git a/admin/make-emacs b/admin/make-emacs
index f0c5370496e..24e9844b72c 100755
--- a/admin/make-emacs
+++ b/admin/make-emacs
@@ -100,7 +100,7 @@ chdir $root if cwd () eq "/";
100chdir "./src"; 100chdir "./src";
101print "Build in ", cwd (), "\n"; 101print "Build in ", cwd (), "\n";
102 102
103# If first arg is `all' or if `--all' specified, ensure a clean 103# If first arg is 'all' or if '--all' specified, ensure a clean
104# build. 104# build.
105 105
106if (@ARGV && $ARGV[0] eq "all") 106if (@ARGV && $ARGV[0] eq "all")
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index a913579a1c4..27bb77d5cac 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -390,7 +390,7 @@ Searching and Replacement
390* Symbol Search:: Search for a source code symbol. 390* Symbol Search:: Search for a source code symbol.
391* Regexp Search:: Search for match for a regexp. 391* Regexp Search:: Search for match for a regexp.
392* Regexps:: Syntax of regular expressions. 392* Regexps:: Syntax of regular expressions.
393* Regexp Backslash:: Regular expression constructs starting with '\'. 393* Regexp Backslash:: Regular expression constructs starting with `\'.
394* Regexp Example:: A complex regular expression explained. 394* Regexp Example:: A complex regular expression explained.
395* Search Case:: To ignore case while searching, or not. 395* Search Case:: To ignore case while searching, or not.
396* Replace:: Search, and replace some or all matches. 396* Replace:: Search, and replace some or all matches.
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 9b91421a7e6..ae275d1ca67 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -24,7 +24,7 @@ thing, but search for patterns instead of fixed strings.
24* Symbol Search:: Search for a source code symbol. 24* Symbol Search:: Search for a source code symbol.
25* Regexp Search:: Search for match for a regexp. 25* Regexp Search:: Search for match for a regexp.
26* Regexps:: Syntax of regular expressions. 26* Regexps:: Syntax of regular expressions.
27* Regexp Backslash:: Regular expression constructs starting with '\'. 27* Regexp Backslash:: Regular expression constructs starting with `\'.
28* Regexp Example:: A complex regular expression explained. 28* Regexp Example:: A complex regular expression explained.
29* Search Case:: To ignore case while searching, or not. 29* Search Case:: To ignore case while searching, or not.
30* Replace:: Search, and replace some or all matches. 30* Replace:: Search, and replace some or all matches.
diff --git a/etc/emacs-buffer.gdb b/etc/emacs-buffer.gdb
index 5d6cbd4f0c0..cdcb666df61 100644
--- a/etc/emacs-buffer.gdb
+++ b/etc/emacs-buffer.gdb
@@ -29,8 +29,8 @@
29# The Emacs executable must have debugging symbols for this to work. 29# The Emacs executable must have debugging symbols for this to work.
30# But you never strip Emacs, right? 30# But you never strip Emacs, right?
31# 31#
32# The main commands of interest are `ybuffer-list', `yfile-buffers', 32# The main commands of interest are 'ybuffer-list', 'yfile-buffers',
33# `ysave-buffer', and `ybuffer-contents'. The `y' prefix avoids any 33# 'ysave-buffer', and 'ybuffer-contents'. The 'y' prefix avoids any
34# namespace collisions with emacs/src/.gdbinit. 34# namespace collisions with emacs/src/.gdbinit.
35 35
36# Since the internal data structures in Emacs occasionally from time to 36# Since the internal data structures in Emacs occasionally from time to
@@ -129,7 +129,7 @@ end
129document ybuffer-list 129document ybuffer-list
130 Display a list of buffer names, sizes, and other attributes. 130 Display a list of buffer names, sizes, and other attributes.
131 The buffer number in the first column is used as an argument 131 The buffer number in the first column is used as an argument
132 to some other emacs-buffer recovery commands, e.g. `ysave-buffer'. 132 to some other emacs-buffer recovery commands, e.g. 'ysave-buffer'.
133end 133end
134 134
135define yfile-buffers 135define yfile-buffers
@@ -138,7 +138,7 @@ define yfile-buffers
138end 138end
139document yfile-buffers 139document yfile-buffers
140 Display a list of buffers which are associated with files. 140 Display a list of buffers which are associated with files.
141 This is like `ybuffer-list', but only buffers that were visiting files 141 This is like 'ybuffer-list', but only buffers that were visiting files
142 are displayed. 142 are displayed.
143end 143end
144 144
@@ -165,7 +165,7 @@ define yset-buffer
165end 165end
166document yset-buffer 166document yset-buffer
167 Set current buffer (for other emacs-buffer recovery commands) to the ARG'th 167 Set current buffer (for other emacs-buffer recovery commands) to the ARG'th
168 buffer as displayed by `ybuffer-list'. 168 buffer as displayed by 'ybuffer-list'.
169end 169end
170 170
171define yget-buffer-pointers 171define yget-buffer-pointers
@@ -184,9 +184,9 @@ define yget-buffer-pointers
184end 184end
185document yget-buffer-pointers 185document yget-buffer-pointers
186 Update convenience variables with address pointers for the ARG'th buffer 186 Update convenience variables with address pointers for the ARG'th buffer
187 as displayed by `ybuffer-list'. 187 as displayed by 'ybuffer-list'.
188 188
189 This also sets the current buffer using `yset-buffer' (which see). 189 This also sets the current buffer using 'yset-buffer' (which see).
190end 190end
191 191
192define yget-current-buffer-name 192define yget-current-buffer-name
@@ -220,11 +220,11 @@ define ydump-buffer
220 end 220 end
221end 221end
222document ydump-buffer 222document ydump-buffer
223 Write contents of buffer N (as numbered according to `ybuffer-list') to 223 Write contents of buffer N (as numbered according to 'ybuffer-list') to
224 file FILE. 224 file FILE.
225 225
226 This is mainly used as an internal subroutine for `ysave-buffer' and 226 This is mainly used as an internal subroutine for 'ysave-buffer' and
227 `ybuffer-contents', which see. 227 'ybuffer-contents', which see.
228end 228end
229 229
230define ysave-buffer 230define ysave-buffer
@@ -242,7 +242,7 @@ define ysave-buffer
242 end 242 end
243end 243end
244document ysave-buffer 244document ysave-buffer
245 Save contents of buffer N (as numbered according to `ybuffer-list') to 245 Save contents of buffer N (as numbered according to 'ybuffer-list') to
246 file FILE. 246 file FILE.
247end 247end
248 248
@@ -258,7 +258,7 @@ define ybuffer-contents
258 end 258 end
259end 259end
260document ybuffer-contents 260document ybuffer-contents
261 Write contents of buffer N (numbered according to `ybuffer-list') to stdout. 261 Write contents of buffer N (numbered according to 'ybuffer-list') to stdout.
262end 262end
263 263
264# local variables: 264# local variables:
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index a175967156a..2b65cb2e1a9 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -24,7 +24,7 @@ SHELL = @SHELL@
24EMACS = ../src/emacs${EXEEXT} 24EMACS = ../src/emacs${EXEEXT}
25EMACSOPT = -batch --no-site-file --no-site-lisp 25EMACSOPT = -batch --no-site-file --no-site-lisp
26 26
27# ==================== Things `configure' will edit ==================== 27# ==================== Things 'configure' will edit ====================
28 28
29CC=@CC@ 29CC=@CC@
30CFLAGS=@CFLAGS@ 30CFLAGS=@CFLAGS@
@@ -83,31 +83,31 @@ ns_appbindir=@ns_appbindir@
83# subdirectories of this directory. The default values for many of 83# subdirectories of this directory. The default values for many of
84# the variables below are expressed in terms of this one, so you may 84# the variables below are expressed in terms of this one, so you may
85# not need to change them. This is set with the --prefix option to 85# not need to change them. This is set with the --prefix option to
86# `../configure'. 86# '../configure'.
87prefix=@prefix@ 87prefix=@prefix@
88 88
89# Like `prefix', but used for architecture-specific files. This is 89# Like 'prefix', but used for architecture-specific files. This is
90# set with the --exec-prefix option to `../configure'. 90# set with the --exec-prefix option to '../configure'.
91exec_prefix=@exec_prefix@ 91exec_prefix=@exec_prefix@
92 92
93# Where to install Emacs and other binaries that people will want to 93# Where to install Emacs and other binaries that people will want to
94# run directly (like etags). This is set with the --bindir option 94# run directly (like etags). This is set with the --bindir option
95# to `../configure'. 95# to '../configure'.
96bindir=@bindir@ 96bindir=@bindir@
97 97
98# Where to install and expect executable files to be run by Emacs 98# Where to install and expect executable files to be run by Emacs
99# rather than directly by users, and other architecture-dependent 99# rather than directly by users, and other architecture-dependent
100# data. ${archlibdir} is usually below this. This is set with the 100# data. ${archlibdir} is usually below this. This is set with the
101# --libexecdir option to `../configure'. 101# --libexecdir option to '../configure'.
102libexecdir=@libexecdir@ 102libexecdir=@libexecdir@
103 103
104# Directory for local state files for all programs. 104# Directory for local state files for all programs.
105localstatedir=@localstatedir@ 105localstatedir=@localstatedir@
106 106
107# Where to find the source code. This is set by the configure 107# Where to find the source code. This is set by the configure
108# script's `--srcdir' option. However, the value of ${srcdir} in 108# script's '--srcdir' option. However, the value of ${srcdir} in
109# this makefile is not identical to what was specified with --srcdir, 109# this makefile is not identical to what was specified with --srcdir,
110# since the variable here has `/lib-src' added at the end. 110# since the variable here has '/lib-src' added at the end.
111 111
112# We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. 112# We use $(srcdir) explicitly in dependencies so as not to depend on VPATH.
113srcdir=@srcdir@ 113srcdir=@srcdir@
@@ -127,7 +127,7 @@ abs_top_srcdir=@abs_top_srcdir@
127# This path usually includes the Emacs version and configuration name, 127# This path usually includes the Emacs version and configuration name,
128# so that multiple configurations for multiple versions of Emacs may 128# so that multiple configurations for multiple versions of Emacs may
129# be installed at once. This can be set with the --archlibdir option 129# be installed at once. This can be set with the --archlibdir option
130# to `../configure'. 130# to '../configure'.
131archlibdir=@archlibdir@ 131archlibdir=@archlibdir@
132 132
133gamedir=@gamedir@ 133gamedir=@gamedir@
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in
index 59a88663e2a..41f54f8aa69 100644
--- a/test/automated/Makefile.in
+++ b/test/automated/Makefile.in
@@ -86,7 +86,7 @@ WRITE_LOG = > $@ 2>&1 || { stat=ERROR; cat $@; }; echo $$stat: $@
86## -l ./basename treats basename as a literal file (it would be nice 86## -l ./basename treats basename as a literal file (it would be nice
87## to change this; bug#17848 - if that gets done, this can be simplified). 87## to change this; bug#17848 - if that gets done, this can be simplified).
88## 88##
89## Beware: it approximates `no-byte-compile', so watch out for false-positives! 89## Beware: it approximates 'no-byte-compile', so watch out for false-positives!
90%.log: ${srcdir}/%.el 90%.log: ${srcdir}/%.el
91 @if grep '^;.*no-byte-compile: t' $< > /dev/null; then \ 91 @if grep '^;.*no-byte-compile: t' $< > /dev/null; then \
92 loadfile=$<; \ 92 loadfile=$<; \