From e56096dbb9560b558f74d2b21e21659e221b914c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 16 Sep 2015 16:06:29 -0700 Subject: [PATCH] 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. --- admin/charsets/eucjp-ms.awk | 3 +-- admin/coccinelle/vector_contents.cocci | 2 +- admin/make-emacs | 2 +- doc/emacs/emacs.texi | 2 +- doc/emacs/search.texi | 2 +- etc/emacs-buffer.gdb | 24 ++++++++++++------------ lib-src/Makefile.in | 18 +++++++++--------- test/automated/Makefile.in | 2 +- 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 @@ # http://home.m05.itscom.net/numa/cde/ucs-conv/appendix.html # This program reads the mapping file EUC-JP-MS (of glibc) and # generates the Elisp file eucjp-ms.el that defines two translation -# tables `eucjp-ms-decode' and `eucjp-ms-encode'. +# tables 'eucjp-ms-decode' and 'eucjp-ms-encode'. BEGIN { FS = "[ \t][ \t]*" @@ -109,4 +109,3 @@ END { print ""; print "(provide 'eucjp-ms)"; } - 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 @@ -// Avoid direct access to `contents' member of +// Avoid direct access to 'contents' member of // Lisp_Vector, use AREF and ASET where possible. @expression@ identifier 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 "/"; chdir "./src"; print "Build in ", cwd (), "\n"; -# If first arg is `all' or if `--all' specified, ensure a clean +# If first arg is 'all' or if '--all' specified, ensure a clean # build. if (@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 * Symbol Search:: Search for a source code symbol. * Regexp Search:: Search for match for a regexp. * Regexps:: Syntax of regular expressions. -* Regexp Backslash:: Regular expression constructs starting with '\'. +* Regexp Backslash:: Regular expression constructs starting with `\'. * Regexp Example:: A complex regular expression explained. * Search Case:: To ignore case while searching, or not. * 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. * Symbol Search:: Search for a source code symbol. * Regexp Search:: Search for match for a regexp. * Regexps:: Syntax of regular expressions. -* Regexp Backslash:: Regular expression constructs starting with '\'. +* Regexp Backslash:: Regular expression constructs starting with `\'. * Regexp Example:: A complex regular expression explained. * Search Case:: To ignore case while searching, or not. * 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 @@ # The Emacs executable must have debugging symbols for this to work. # But you never strip Emacs, right? # -# The main commands of interest are `ybuffer-list', `yfile-buffers', -# `ysave-buffer', and `ybuffer-contents'. The `y' prefix avoids any +# The main commands of interest are 'ybuffer-list', 'yfile-buffers', +# 'ysave-buffer', and 'ybuffer-contents'. The 'y' prefix avoids any # namespace collisions with emacs/src/.gdbinit. # Since the internal data structures in Emacs occasionally from time to @@ -129,7 +129,7 @@ end document ybuffer-list Display a list of buffer names, sizes, and other attributes. The buffer number in the first column is used as an argument - to some other emacs-buffer recovery commands, e.g. `ysave-buffer'. + to some other emacs-buffer recovery commands, e.g. 'ysave-buffer'. end define yfile-buffers @@ -138,7 +138,7 @@ define yfile-buffers end document yfile-buffers Display a list of buffers which are associated with files. - This is like `ybuffer-list', but only buffers that were visiting files + This is like 'ybuffer-list', but only buffers that were visiting files are displayed. end @@ -165,7 +165,7 @@ define yset-buffer end document yset-buffer Set current buffer (for other emacs-buffer recovery commands) to the ARG'th - buffer as displayed by `ybuffer-list'. + buffer as displayed by 'ybuffer-list'. end define yget-buffer-pointers @@ -184,9 +184,9 @@ define yget-buffer-pointers end document yget-buffer-pointers Update convenience variables with address pointers for the ARG'th buffer - as displayed by `ybuffer-list'. + as displayed by 'ybuffer-list'. - This also sets the current buffer using `yset-buffer' (which see). + This also sets the current buffer using 'yset-buffer' (which see). end define yget-current-buffer-name @@ -220,11 +220,11 @@ define ydump-buffer end end document ydump-buffer - Write contents of buffer N (as numbered according to `ybuffer-list') to + Write contents of buffer N (as numbered according to 'ybuffer-list') to file FILE. - This is mainly used as an internal subroutine for `ysave-buffer' and - `ybuffer-contents', which see. + This is mainly used as an internal subroutine for 'ysave-buffer' and + 'ybuffer-contents', which see. end define ysave-buffer @@ -242,7 +242,7 @@ define ysave-buffer end end document ysave-buffer - Save contents of buffer N (as numbered according to `ybuffer-list') to + Save contents of buffer N (as numbered according to 'ybuffer-list') to file FILE. end @@ -258,7 +258,7 @@ define ybuffer-contents end end document ybuffer-contents - Write contents of buffer N (numbered according to `ybuffer-list') to stdout. + Write contents of buffer N (numbered according to 'ybuffer-list') to stdout. end # 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@ EMACS = ../src/emacs${EXEEXT} EMACSOPT = -batch --no-site-file --no-site-lisp -# ==================== Things `configure' will edit ==================== +# ==================== Things 'configure' will edit ==================== CC=@CC@ CFLAGS=@CFLAGS@ @@ -83,31 +83,31 @@ ns_appbindir=@ns_appbindir@ # subdirectories of this directory. The default values for many of # the variables below are expressed in terms of this one, so you may # not need to change them. This is set with the --prefix option to -# `../configure'. +# '../configure'. prefix=@prefix@ -# Like `prefix', but used for architecture-specific files. This is -# set with the --exec-prefix option to `../configure'. +# Like 'prefix', but used for architecture-specific files. This is +# set with the --exec-prefix option to '../configure'. exec_prefix=@exec_prefix@ # Where to install Emacs and other binaries that people will want to # run directly (like etags). This is set with the --bindir option -# to `../configure'. +# to '../configure'. bindir=@bindir@ # Where to install and expect executable files to be run by Emacs # rather than directly by users, and other architecture-dependent # data. ${archlibdir} is usually below this. This is set with the -# --libexecdir option to `../configure'. +# --libexecdir option to '../configure'. libexecdir=@libexecdir@ # Directory for local state files for all programs. localstatedir=@localstatedir@ # Where to find the source code. This is set by the configure -# script's `--srcdir' option. However, the value of ${srcdir} in +# script's '--srcdir' option. However, the value of ${srcdir} in # this makefile is not identical to what was specified with --srcdir, -# since the variable here has `/lib-src' added at the end. +# since the variable here has '/lib-src' added at the end. # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. srcdir=@srcdir@ @@ -127,7 +127,7 @@ abs_top_srcdir=@abs_top_srcdir@ # This path usually includes the Emacs version and configuration name, # so that multiple configurations for multiple versions of Emacs may # be installed at once. This can be set with the --archlibdir option -# to `../configure'. +# to '../configure'. archlibdir=@archlibdir@ gamedir=@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: $@ ## -l ./basename treats basename as a literal file (it would be nice ## to change this; bug#17848 - if that gets done, this can be simplified). ## -## Beware: it approximates `no-byte-compile', so watch out for false-positives! +## Beware: it approximates 'no-byte-compile', so watch out for false-positives! %.log: ${srcdir}/%.el @if grep '^;.*no-byte-compile: t' $< > /dev/null; then \ loadfile=$<; \ -- 2.39.2