aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK. Handa2015-05-02 22:39:54 +0900
committerK. Handa2015-05-02 22:39:54 +0900
commit40e720d049693dfe0c5559a8a8285a0b5cc6c5e2 (patch)
tree46b84f79be0930e7fa729ae06836b90892e3d9b5
parentc3c9dab41b637b53034dd2f3dce6bf042380adae (diff)
parent0bbc027356b680f32ac7b2d47d43a65d01091032 (diff)
downloademacs-40e720d049693dfe0c5559a8a8285a0b5cc6c5e2.tar.gz
emacs-40e720d049693dfe0c5559a8a8285a0b5cc6c5e2.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
-rw-r--r--doc/emacs/Makefile.in1
-rw-r--r--doc/emacs/docstyle.texi10
-rw-r--r--doc/emacs/emacs-xtra.texi3
-rw-r--r--doc/emacs/emacs.texi3
-rw-r--r--doc/emacs/mule.texi3
-rw-r--r--doc/lispintro/Makefile.in4
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi2
-rw-r--r--doc/lispref/Makefile.in3
-rw-r--r--doc/lispref/back.texi2
-rw-r--r--doc/lispref/book-spine.texi2
-rw-r--r--doc/lispref/elisp.texi3
-rw-r--r--doc/lispref/keymaps.texi6
-rw-r--r--doc/lispref/lay-flat.texi2
-rw-r--r--doc/lispref/nonascii.texi4
-rw-r--r--doc/lispref/objects.texi10
-rw-r--r--doc/misc/Makefile.in18
-rw-r--r--doc/misc/ada-mode.texi2
-rw-r--r--doc/misc/auth.texi2
-rw-r--r--doc/misc/autotype.texi2
-rw-r--r--doc/misc/bovine.texi2
-rw-r--r--doc/misc/calc.texi24
-rw-r--r--doc/misc/cc-mode.texi2
-rw-r--r--doc/misc/cl.texi2
-rw-r--r--doc/misc/dbus.texi2
-rw-r--r--doc/misc/dired-x.texi2
-rw-r--r--doc/misc/ebrowse.texi2
-rw-r--r--doc/misc/ede.texi2
-rw-r--r--doc/misc/ediff.texi6
-rw-r--r--doc/misc/edt.texi2
-rw-r--r--doc/misc/efaq-w32.texi4
-rw-r--r--doc/misc/efaq.texi2
-rw-r--r--doc/misc/eieio.texi2
-rw-r--r--doc/misc/emacs-gnutls.texi2
-rw-r--r--doc/misc/emacs-mime.texi2
-rw-r--r--doc/misc/epa.texi2
-rw-r--r--doc/misc/erc.texi2
-rw-r--r--doc/misc/ert.texi2
-rw-r--r--doc/misc/eshell.texi2
-rw-r--r--doc/misc/eudc.texi2
-rw-r--r--doc/misc/eww.texi2
-rw-r--r--doc/misc/flymake.texi2
-rw-r--r--doc/misc/forms.texi2
-rw-r--r--doc/misc/gnus-coding.texi2
-rw-r--r--doc/misc/gnus-faq.texi2
-rw-r--r--doc/misc/gnus.texi11
-rw-r--r--doc/misc/htmlfontify.texi2
-rw-r--r--doc/misc/idlwave.texi2
-rw-r--r--doc/misc/ido.texi2
-rw-r--r--doc/misc/info.texi2
-rw-r--r--doc/misc/mairix-el.texi3
-rw-r--r--doc/misc/message.texi2
-rw-r--r--doc/misc/mh-e.texi2
-rw-r--r--doc/misc/newsticker.texi2
-rw-r--r--doc/misc/nxml-mode.texi2
-rw-r--r--doc/misc/octave-mode.texi2
-rw-r--r--doc/misc/org.texi4
-rw-r--r--doc/misc/pcl-cvs.texi2
-rw-r--r--doc/misc/pgg.texi3
-rw-r--r--doc/misc/rcirc.texi2
-rw-r--r--doc/misc/reftex.texi2
-rw-r--r--doc/misc/remember.texi2
-rw-r--r--doc/misc/sasl.texi3
-rw-r--r--doc/misc/sc.texi2
-rw-r--r--doc/misc/semantic.texi2
-rw-r--r--doc/misc/ses.texi2
-rw-r--r--doc/misc/sieve.texi2
-rw-r--r--doc/misc/smtpmail.texi2
-rw-r--r--doc/misc/speedbar.texi2
-rw-r--r--doc/misc/srecode.texi2
-rw-r--r--doc/misc/todo-mode.texi2
-rw-r--r--doc/misc/tramp.texi6
-rw-r--r--doc/misc/url.texi3
-rw-r--r--doc/misc/vhdl-mode.texi2
-rw-r--r--doc/misc/vip.texi3
-rw-r--r--doc/misc/viper.texi3
-rw-r--r--doc/misc/widget.texi2
-rw-r--r--doc/misc/wisent.texi2
-rw-r--r--doc/misc/woman.texi2
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/cedet/ede/locate.el2
-rw-r--r--lisp/emacs-lisp/bytecomp.el63
-rw-r--r--lisp/emacs-lisp/eieio-core.el2
-rw-r--r--lisp/emacs-lisp/ert.el2
-rw-r--r--lisp/emacs-lisp/pcase.el10
-rw-r--r--lisp/emacs-lisp/seq.el1
-rw-r--r--lisp/files.el12
-rw-r--r--lisp/isearch.el2
-rw-r--r--lisp/progmodes/cmacexp.el4
-rw-r--r--lisp/progmodes/elisp-mode.el21
-rw-r--r--lisp/progmodes/etags.el9
-rw-r--r--lisp/progmodes/xref.el43
-rw-r--r--lisp/simple.el5
-rw-r--r--lisp/whitespace.el53
-rw-r--r--test/automated/cl-lib-tests.el41
94 files changed, 311 insertions, 211 deletions
diff --git a/doc/emacs/Makefile.in b/doc/emacs/Makefile.in
index 9932348ba67..7630780be6c 100644
--- a/doc/emacs/Makefile.in
+++ b/doc/emacs/Makefile.in
@@ -94,6 +94,7 @@ EMACS_XTRA= \
94 $(srcdir)/arevert-xtra.texi \ 94 $(srcdir)/arevert-xtra.texi \
95 $(srcdir)/cal-xtra.texi \ 95 $(srcdir)/cal-xtra.texi \
96 $(srcdir)/dired-xtra.texi \ 96 $(srcdir)/dired-xtra.texi \
97 ${srcdir}/docstyle.texi \
97 $(srcdir)/picture-xtra.texi \ 98 $(srcdir)/picture-xtra.texi \
98 $(srcdir)/emerge-xtra.texi \ 99 $(srcdir)/emerge-xtra.texi \
99 $(srcdir)/vc-xtra.texi \ 100 $(srcdir)/vc-xtra.texi \
diff --git a/doc/emacs/docstyle.texi b/doc/emacs/docstyle.texi
new file mode 100644
index 00000000000..dfd14306b39
--- /dev/null
+++ b/doc/emacs/docstyle.texi
@@ -0,0 +1,10 @@
1@c Emacs documentation style settings
2@documentencoding UTF-8
3@c These two require Texinfo 5.0 or later, so we use the older
4@c equivalent @set variables supported in 4.11 and hence
5@ignore
6@codequotebacktick on
7@codequoteundirected on
8@end ignore
9@set txicodequoteundirected
10@set txicodequotebacktick
diff --git a/doc/emacs/emacs-xtra.texi b/doc/emacs/emacs-xtra.texi
index fcedf7308a8..3490c08d275 100644
--- a/doc/emacs/emacs-xtra.texi
+++ b/doc/emacs/emacs-xtra.texi
@@ -2,6 +2,7 @@
2@comment %**start of header 2@comment %**start of header
3@setfilename ../../info/emacs-xtra.info 3@setfilename ../../info/emacs-xtra.info
4@settitle Specialized Emacs Features 4@settitle Specialized Emacs Features
5@include docstyle.texi
5@c Merge all functions, variables, and keys into the concept index. 6@c Merge all functions, variables, and keys into the concept index.
6@syncodeindex fn cp 7@syncodeindex fn cp
7@syncodeindex vr cp 8@syncodeindex vr cp
@@ -26,8 +27,6 @@ modify this GNU manual.''
26@end quotation 27@end quotation
27@end copying 28@end copying
28 29
29@documentencoding UTF-8
30
31@dircategory Emacs 30@dircategory Emacs
32@direntry 31@direntry
33* Emacs-Xtra: (emacs-xtra). Specialized Emacs features. 32* Emacs-Xtra: (emacs-xtra). Specialized Emacs features.
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index caec373938d..30c35a05125 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -2,6 +2,7 @@
2 2
3@setfilename ../../info/emacs.info 3@setfilename ../../info/emacs.info
4@settitle GNU Emacs Manual 4@settitle GNU Emacs Manual
5@include docstyle.texi
5 6
6@c The edition number appears in more than one place in this file 7@c The edition number appears in more than one place in this file
7@c I don't really know what it means... 8@c I don't really know what it means...
@@ -44,8 +45,6 @@ developing GNU and promoting software freedom.''
44@end quotation 45@end quotation
45@end copying 46@end copying
46 47
47@documentencoding UTF-8
48
49@dircategory Emacs 48@dircategory Emacs
50@direntry 49@direntry
51* Emacs: (emacs). The extensible self-documenting text editor. 50* Emacs: (emacs). The extensible self-documenting text editor.
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index a80f942f61a..de381dfa1e8 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -1,3 +1,4 @@
1@c -*- coding: utf-8 -*-
1@c This is part of the Emacs manual. 2@c This is part of the Emacs manual.
2@c Copyright (C) 1997, 1999-2015 Free Software Foundation, Inc. 3@c Copyright (C) 1997, 1999-2015 Free Software Foundation, Inc.
3@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
@@ -214,7 +215,7 @@ faces used to display the character, and any overlays containing it
214 215
215@smallexample 216@smallexample
216 position: 1 of 1 (0%), column: 0 217 position: 1 of 1 (0%), column: 0
217 character: @^e (displayed as @^e) (codepoint 234, #o352, #xea) 218 character: ê (displayed as ê) (codepoint 234, #o352, #xea)
218 preferred charset: unicode (Unicode (ISO10646)) 219 preferred charset: unicode (Unicode (ISO10646))
219code point in charset: 0xEA 220code point in charset: 0xEA
220 script: latin 221 script: latin
diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in
index ba63ee80197..d1a696ce2c2 100644
--- a/doc/lispintro/Makefile.in
+++ b/doc/lispintro/Makefile.in
@@ -24,7 +24,7 @@ srcdir = @srcdir@
24buildinfodir = $(srcdir)/../../info 24buildinfodir = $(srcdir)/../../info
25# Directory with the (customized) texinfo.tex file. 25# Directory with the (customized) texinfo.tex file.
26texinfodir = $(srcdir)/../misc 26texinfodir = $(srcdir)/../misc
27# Directory with emacsver.texi. 27# Directory with docstyle.texi and emacsver.texi.
28emacsdir = $(srcdir)/../emacs 28emacsdir = $(srcdir)/../emacs
29 29
30prefix = @prefix@ 30prefix = @prefix@
@@ -73,7 +73,7 @@ PDF_TARGETS = emacs-lisp-intro.pdf
73PS_TARGETS = emacs-lisp-intro.ps 73PS_TARGETS = emacs-lisp-intro.ps
74 74
75srcs = ${srcdir}/emacs-lisp-intro.texi ${srcdir}/doclicense.texi \ 75srcs = ${srcdir}/emacs-lisp-intro.texi ${srcdir}/doclicense.texi \
76 ${emacsdir}/emacsver.texi 76 ${emacsdir}/docstyle.texi ${emacsdir}/emacsver.texi
77 77
78## Disable implicit rules. 78## Disable implicit rules.
79%.texi: ; 79%.texi: ;
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index 46dc41a5a65..83d6022c0a6 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -4,7 +4,7 @@
4@c setfilename emacs-lisp-intro.info 4@c setfilename emacs-lisp-intro.info
5@c sethtmlfilename emacs-lisp-intro.html 5@c sethtmlfilename emacs-lisp-intro.html
6@settitle Programming in Emacs Lisp 6@settitle Programming in Emacs Lisp
7@documentencoding UTF-8 7@include docstyle.texi
8@syncodeindex vr cp 8@syncodeindex vr cp
9@syncodeindex fn cp 9@syncodeindex fn cp
10@finalout 10@finalout
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in
index 4c62c703462..94759173dd6 100644
--- a/doc/lispref/Makefile.in
+++ b/doc/lispref/Makefile.in
@@ -28,7 +28,7 @@ srcdir = @srcdir@
28buildinfodir = $(srcdir)/../../info 28buildinfodir = $(srcdir)/../../info
29# Directory with the (customized) texinfo.tex file. 29# Directory with the (customized) texinfo.tex file.
30texinfodir = $(srcdir)/../misc 30texinfodir = $(srcdir)/../misc
31# Directory with emacsver.texi. 31# Directory with docstyle.tex and emacsver.texi.
32emacsdir = $(srcdir)/../emacs 32emacsdir = $(srcdir)/../emacs
33 33
34prefix = @prefix@ 34prefix = @prefix@
@@ -80,6 +80,7 @@ PS_TARGETS = elisp.ps
80 80
81srcs = \ 81srcs = \
82 $(srcdir)/elisp.texi \ 82 $(srcdir)/elisp.texi \
83 $(emacsdir)/docstyle.texi \
83 $(emacsdir)/emacsver.texi \ 84 $(emacsdir)/emacsver.texi \
84 $(srcdir)/abbrevs.texi \ 85 $(srcdir)/abbrevs.texi \
85 $(srcdir)/anti.texi \ 86 $(srcdir)/anti.texi \
diff --git a/doc/lispref/back.texi b/doc/lispref/back.texi
index 5edfb671773..3433277ca0f 100644
--- a/doc/lispref/back.texi
+++ b/doc/lispref/back.texi
@@ -6,7 +6,7 @@
6@c %**start of header 6@c %**start of header
7@setfilename back-cover 7@setfilename back-cover
8@settitle GNU Emacs Lisp Reference Manual 8@settitle GNU Emacs Lisp Reference Manual
9@documentencoding UTF-8 9@include docstyle.texi
10@c %**end of header 10@c %**end of header
11. 11.
12@sp 7 12@sp 7
diff --git a/doc/lispref/book-spine.texi b/doc/lispref/book-spine.texi
index f58fb77dcc1..8c6381f3d81 100644
--- a/doc/lispref/book-spine.texi
+++ b/doc/lispref/book-spine.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename book-spine 3@setfilename book-spine
4@settitle book-spine 4@settitle book-spine
5@documentencoding UTF-8 5@include docstyle.texi
6@c %**end of header 6@c %**end of header
7 7
8@include emacsver.texi 8@include emacsver.texi
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index bf1fc4db173..a32c69c1c2f 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -18,6 +18,7 @@
18@ifclear volflag 18@ifclear volflag
19@settitle GNU Emacs Lisp Reference Manual 19@settitle GNU Emacs Lisp Reference Manual
20@end ifclear 20@end ifclear
21@include docstyle.texi
21 22
22@c %**end of header 23@c %**end of header
23 24
@@ -115,8 +116,6 @@ developing GNU and promoting software freedom.''
115@end quotation 116@end quotation
116@end copying 117@end copying
117 118
118@documentencoding UTF-8
119
120@dircategory Emacs lisp 119@dircategory Emacs lisp
121@direntry 120@direntry
122* Elisp: (elisp). The Emacs Lisp Reference Manual. 121* Elisp: (elisp). The Emacs Lisp Reference Manual.
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 7ba45a6023f..7752bf0617c 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -1,4 +1,4 @@
1@c -*-texinfo-*- 1@c -*- mode: texinfo; coding: utf-8 -*-
2@c This is part of the GNU Emacs Lisp Reference Manual. 2@c This is part of the GNU Emacs Lisp Reference Manual.
3@c Copyright (C) 1990-1994, 1998-2015 Free Software Foundation, Inc. 3@c Copyright (C) 1990-1994, 1998-2015 Free Software Foundation, Inc.
4@c See the file elisp.texi for copying conditions. 4@c See the file elisp.texi for copying conditions.
@@ -1717,14 +1717,14 @@ they usually will be in a Lisp file (@pxref{Loading Non-ASCII}), you
1717must type the keys as multibyte too. For instance, if you use this: 1717must type the keys as multibyte too. For instance, if you use this:
1718 1718
1719@smallexample 1719@smallexample
1720(global-set-key "@"o" 'my-function) ; bind o-umlaut 1720(global-set-key "ö" 'my-function) ; bind o-umlaut
1721@end smallexample 1721@end smallexample
1722 1722
1723@noindent 1723@noindent
1724or 1724or
1725 1725
1726@smallexample 1726@smallexample
1727(global-set-key ?@"o 'my-function) ; bind o-umlaut 1727(global-set-key ?ö 'my-function) ; bind o-umlaut
1728@end smallexample 1728@end smallexample
1729 1729
1730@noindent 1730@noindent
diff --git a/doc/lispref/lay-flat.texi b/doc/lispref/lay-flat.texi
index 81755b6227f..947beeca23c 100644
--- a/doc/lispref/lay-flat.texi
+++ b/doc/lispref/lay-flat.texi
@@ -6,8 +6,8 @@
6@comment %**start of header 6@comment %**start of header
7@setfilename inner-covers.info 7@setfilename inner-covers.info
8@settitle Inner Covers 8@settitle Inner Covers
9@include docstyle.texi
9@smallbook 10@smallbook
10@documentencoding UTF-8
11@comment %**end of header 11@comment %**end of header
12 12
13@headings off 13@headings off
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 05d5ca48043..28f90d9567a 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -1,4 +1,4 @@
1@c -*-texinfo-*- 1@c -*- mode: texinfo; coding: utf-8 -*-
2@c This is part of the GNU Emacs Lisp Reference Manual. 2@c This is part of the GNU Emacs Lisp Reference Manual.
3@c Copyright (C) 1998-1999, 2001-2015 Free Software Foundation, Inc. 3@c Copyright (C) 1998-1999, 2001-2015 Free Software Foundation, Inc.
4@c See the file elisp.texi for copying conditions. 4@c See the file elisp.texi for copying conditions.
@@ -1817,7 +1817,7 @@ original text:
1817@example 1817@example
1818@group 1818@group
1819(decode-coding-string "Gr\374ss Gott" 'latin-1) 1819(decode-coding-string "Gr\374ss Gott" 'latin-1)
1820 @result{} #("Gr@"uss Gott" 0 9 (charset iso-8859-1)) 1820 @result{} #("Grüss Gott" 0 9 (charset iso-8859-1))
1821@end group 1821@end group
1822@end example 1822@end example
1823@end defun 1823@end defun
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index c7d71d2aba9..c4c74ec7556 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -1,4 +1,4 @@
1@c -*-texinfo-*- 1@c -*- mode: texinfo; coding: utf-8 -*-
2@c This is part of the GNU Emacs Lisp Reference Manual. 2@c This is part of the GNU Emacs Lisp Reference Manual.
3@c Copyright (C) 1990-1995, 1998-1999, 2001-2015 Free Software 3@c Copyright (C) 1990-1995, 1998-1999, 2001-2015 Free Software
4@c Foundation, Inc. 4@c Foundation, Inc.
@@ -375,13 +375,7 @@ that, Emacs signals an error.
375codes. A hexadecimal escape sequence consists of a backslash, 375codes. A hexadecimal escape sequence consists of a backslash,
376@samp{x}, and the hexadecimal character code. Thus, @samp{?\x41} is 376@samp{x}, and the hexadecimal character code. Thus, @samp{?\x41} is
377the character @kbd{A}, @samp{?\x1} is the character @kbd{C-a}, and 377the character @kbd{A}, @samp{?\x1} is the character @kbd{C-a}, and
378@code{?\xe0} is the character 378@code{?\xe0} is the character @kbd{à} (@kbd{a} with grave accent).
379@iftex
380@samp{@`a}.
381@end iftex
382@ifnottex
383@samp{a} with grave accent.
384@end ifnottex
385You can use any number of hex digits, so you can represent any 379You can use any number of hex digits, so you can represent any
386character code in this way. 380character code in this way.
387 381
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index 1f21f829380..aa35002e85e 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -29,7 +29,7 @@ srcdir=@srcdir@
29## In a tarfile of Emacs, the Info files should be up to date. 29## In a tarfile of Emacs, the Info files should be up to date.
30buildinfodir = $(srcdir)/../../info 30buildinfodir = $(srcdir)/../../info
31 31
32## Directory with emacsver.texi. 32## Directory with docstyle.texi and emacsver.texi.
33emacsdir = $(srcdir)/../emacs 33emacsdir = $(srcdir)/../emacs
34 34
35prefix = @prefix@ 35prefix = @prefix@
@@ -108,6 +108,7 @@ ENVADD = $(AM_V_GEN)TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
108 MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)" 108 MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
109 109
110gfdl = ${srcdir}/doclicense.texi 110gfdl = ${srcdir}/doclicense.texi
111style = ${emacsdir}/docstyle.texi
111 112
112.PHONY: info dvi html pdf ps echo-info $(INFO_TARGETS) 113.PHONY: info dvi html pdf ps echo-info $(INFO_TARGETS)
113## Prevent implicit rule triggering for foo.info. 114## Prevent implicit rule triggering for foo.info.
@@ -140,7 +141,7 @@ ${buildinfodir}:
140 141
141EXTRA_OPTS = 142EXTRA_OPTS =
142 143
143${buildinfodir}/%.info: ${srcdir}/%.texi ${gfdl} | ${buildinfodir} 144${buildinfodir}/%.info: ${srcdir}/%.texi ${gfdl} ${style} | ${buildinfodir}
144 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) $(EXTRA_OPTS) \ 145 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) $(EXTRA_OPTS) \
145 -o $@ $< 146 -o $@ $<
146 147
@@ -155,13 +156,13 @@ info.info: $(buildinfodir)/info.info
155$(foreach ifile,$(filter-out info.info,$(INFO_TARGETS)),$(eval $(call info_template,$(ifile)))) 156$(foreach ifile,$(filter-out info.info,$(INFO_TARGETS)),$(eval $(call info_template,$(ifile))))
156 157
157 158
158%.dvi: ${srcdir}/%.texi ${gfdl} 159%.dvi: ${srcdir}/%.texi ${gfdl} ${style}
159 $(ENVADD) $(TEXI2DVI) $< 160 $(ENVADD) $(TEXI2DVI) $<
160 161
161%.pdf: ${srcdir}/%.texi ${gfdl} 162%.pdf: ${srcdir}/%.texi ${gfdl} ${style}
162 $(ENVADD) $(TEXI2PDF) $< 163 $(ENVADD) $(TEXI2PDF) $<
163 164
164%.html: ${srcdir}/%.texi ${gfdl} 165%.html: ${srcdir}/%.texi ${gfdl} ${style}
165 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) $(EXTRA_OPTS) \ 166 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) $(EXTRA_OPTS) \
166 -o $@ $< 167 -o $@ $<
167 168
@@ -184,12 +185,13 @@ $(buildinfodir)/semantic.info semantic.dvi semantic.pdf semantic.html: ${srcdir}
184 185
185 186
186## Please can we just rename cc-mode.texi to ccmode.texi... 187## Please can we just rename cc-mode.texi to ccmode.texi...
187${buildinfodir}/ccmode.info: ${srcdir}/cc-mode.texi ${gfdl} | ${buildinfodir} 188${buildinfodir}/ccmode.info: \
189 ${srcdir}/cc-mode.texi ${gfdl} ${style} | ${buildinfodir}
188 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $< 190 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $<
189 191
190## efaq, efaq_w32 do not depend on gfdl. 192## efaq, efaq_w32 do not depend on gfdl.
191## Maybe we can use .SECONDEXPANSION for this. 193## Maybe we can use .SECONDEXPANSION for this.
192${buildinfodir}/efaq%.info: ${srcdir}/efaq%.texi | ${buildinfodir} 194${buildinfodir}/efaq%.info: ${srcdir}/efaq%.texi ${style} | ${buildinfodir}
193 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $< 195 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $<
194 196
195efaq%.dvi: ${srcdir}/efaq%.texi 197efaq%.dvi: ${srcdir}/efaq%.texi
@@ -203,7 +205,7 @@ efaq%.html: ${srcdir}/efaq%.texi
203 205
204${buildinfodir}/emacs-mime.info emacs-mime.html: EXTRA_OPTS = --enable-encoding 206${buildinfodir}/emacs-mime.info emacs-mime.html: EXTRA_OPTS = --enable-encoding
205 207
206gnus_deps = ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi ${gfdl} 208gnus_deps = ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi ${gfdl} ${style}
207gnus.dvi: $(gnus_deps) 209gnus.dvi: $(gnus_deps)
208 sed -e '/@iflatex/,/@end iflatex/d' $< > gnustmpdvi.texi 210 sed -e '/@iflatex/,/@end iflatex/d' $< > gnustmpdvi.texi
209 $(ENVADD) $(TEXI2DVI) gnustmpdvi.texi 211 $(ENVADD) $(TEXI2DVI) gnustmpdvi.texi
diff --git a/doc/misc/ada-mode.texi b/doc/misc/ada-mode.texi
index 539e2b23fcb..e84ef6eb512 100644
--- a/doc/misc/ada-mode.texi
+++ b/doc/misc/ada-mode.texi
@@ -1,7 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2@setfilename ../../info/ada-mode.info 2@setfilename ../../info/ada-mode.info
3@settitle Ada Mode 3@settitle Ada Mode
4@documentencoding UTF-8 4@include docstyle.texi
5 5
6@copying 6@copying
7Copyright @copyright{} 1999--2015 Free Software Foundation, Inc. 7Copyright @copyright{} 1999--2015 Free Software Foundation, Inc.
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index 177f7ccada0..082dc1dacdf 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -6,7 +6,7 @@
6 6
7@setfilename ../../info/auth.info 7@setfilename ../../info/auth.info
8@settitle Emacs auth-source Library @value{VERSION} 8@settitle Emacs auth-source Library @value{VERSION}
9@documentencoding UTF-8 9@include docstyle.texi
10 10
11@copying 11@copying
12This file describes the Emacs auth-source library. 12This file describes the Emacs auth-source library.
diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi
index 51880d8afe9..acc98ed2a1b 100644
--- a/doc/misc/autotype.texi
+++ b/doc/misc/autotype.texi
@@ -5,7 +5,7 @@
5@c @node Autotypist, Picture, Abbrevs, Top 5@c @node Autotypist, Picture, Abbrevs, Top
6@c @chapter Features for Automatic Typing 6@c @chapter Features for Automatic Typing
7@settitle Features for Automatic Typing 7@settitle Features for Automatic Typing
8@documentencoding UTF-8 8@include docstyle.texi
9@c @cindex text 9@c @cindex text
10@c @cindex selfinserting text 10@c @cindex selfinserting text
11@c @cindex autotypist 11@c @cindex autotypist
diff --git a/doc/misc/bovine.texi b/doc/misc/bovine.texi
index cd2e7365f25..ec11aa896ff 100644
--- a/doc/misc/bovine.texi
+++ b/doc/misc/bovine.texi
@@ -4,7 +4,7 @@
4@set TITLE Bovine parser development 4@set TITLE Bovine parser development
5@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim 5@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
6@settitle @value{TITLE} 6@settitle @value{TITLE}
7@documentencoding UTF-8 7@include docstyle.texi
8 8
9@c ************************************************************************* 9@c *************************************************************************
10@c @ Header 10@c @ Header
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 84eb274bb49..034f42b1a16 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -1,10 +1,10 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*- mode: texinfo; coding: utf-8 -*-
2@comment %**start of header (This is for running Texinfo on a region.) 2@comment %**start of header (This is for running Texinfo on a region.)
3@c smallbook 3@c smallbook
4@setfilename ../../info/calc.info 4@setfilename ../../info/calc.info
5@c [title] 5@c [title]
6@settitle GNU Emacs Calc Manual 6@settitle GNU Emacs Calc Manual
7@documentencoding UTF-8 7@include docstyle.texi
8@setchapternewpage odd 8@setchapternewpage odd
9@comment %**end of header (This is for running Texinfo on a region.) 9@comment %**end of header (This is for running Texinfo on a region.)
10 10
@@ -1203,9 +1203,7 @@ algebra system for microcomputers.
1203Many people have contributed to Calc by reporting bugs and suggesting 1203Many people have contributed to Calc by reporting bugs and suggesting
1204features, large and small. A few deserve special mention: Tim Peters, 1204features, large and small. A few deserve special mention: Tim Peters,
1205who helped develop the ideas that led to the selection commands, rewrite 1205who helped develop the ideas that led to the selection commands, rewrite
1206rules, and many other algebra features; 1206rules, and many other algebra features; François
1207@texline Fran\c{c}ois
1208@infoline Francois
1209Pinard, who contributed an early prototype of the Calc Summary appendix 1207Pinard, who contributed an early prototype of the Calc Summary appendix
1210as well as providing valuable suggestions in many other areas of Calc; 1208as well as providing valuable suggestions in many other areas of Calc;
1211Carl Witty, whose eagle eyes discovered many typographical and factual 1209Carl Witty, whose eagle eyes discovered many typographical and factual
@@ -7218,9 +7216,7 @@ so that the mapping operation works; no prime factor will ever be
7218zero, so adding zeros on the left and right is safe. From then on 7216zero, so adding zeros on the left and right is safe. From then on
7219the job is pretty straightforward. 7217the job is pretty straightforward.
7220 7218
7221Incidentally, Calc provides the 7219Incidentally, Calc provides the @dfn{Möbius μ}
7222@texline @dfn{M@"obius} @math{\mu}
7223@infoline @dfn{Moebius mu}
7224function which is zero if and only if its argument is square-free. It 7220function which is zero if and only if its argument is square-free. It
7225would be a much more convenient way to do the above test in practice. 7221would be a much more convenient way to do the above test in practice.
7226 7222
@@ -8098,7 +8094,7 @@ argument is exactly what we want to map over:
8098@end smallexample 8094@end smallexample
8099 8095
8100@noindent 8096@noindent
8101Et voil@`a, September 13, 1991 is a Friday. 8097Et voilà, September 13, 1991 is a Friday.
8102 8098
8103@smallexample 8099@smallexample
8104@group 8100@group
@@ -19304,9 +19300,7 @@ are relatively prime to @expr{n}.
19304@pindex calc-moebius 19300@pindex calc-moebius
19305@tindex moebius 19301@tindex moebius
19306The @kbd{k m} (@code{calc-moebius}) [@code{moebius}] command computes the 19302The @kbd{k m} (@code{calc-moebius}) [@code{moebius}] command computes the
19307@texline M@"obius @math{\mu} 19303Möbius μ function. If the input number is a product of @expr{k}
19308@infoline Moebius ``mu''
19309function. If the input number is a product of @expr{k}
19310distinct factors, this is @expr{(-1)^k}. If the input number has any 19304distinct factors, this is @expr{(-1)^k}. If the input number has any
19311duplicate factors (i.e., can be divided by the same prime more than once), 19305duplicate factors (i.e., can be divided by the same prime more than once),
19312the result is zero. 19306the result is zero.
@@ -27698,9 +27692,7 @@ the keyboard macro @kbd{' tri($) @key{RET}} to make a command that applies
27698@code{tri} to the value on the top of the stack. @xref{Programming}. 27692@code{tri} to the value on the top of the stack. @xref{Programming}.
27699 27693
27700@cindex Quaternions 27694@cindex Quaternions
27701The following rule set, contributed by 27695The following rule set, contributed by François
27702@texline Fran\c cois
27703@infoline Francois
27704Pinard, implements @dfn{quaternions}, a generalization of the concept of 27696Pinard, implements @dfn{quaternions}, a generalization of the concept of
27705complex numbers. Quaternions have four components, and are here 27697complex numbers. Quaternions have four components, and are here
27706represented by function calls @samp{quat(@var{w}, [@var{x}, @var{y}, 27698represented by function calls @samp{quat(@var{w}, [@var{x}, @var{y},
@@ -28048,7 +28040,7 @@ based on a fundamental physical process (although there are efforts to
28048change this) is the kilogram, which was originally defined as the mass 28040change this) is the kilogram, which was originally defined as the mass
28049of one liter of water, but is now defined as the mass of the 28041of one liter of water, but is now defined as the mass of the
28050international prototype of the kilogram (IPK), a cylinder of platinum-iridium 28042international prototype of the kilogram (IPK), a cylinder of platinum-iridium
28051kept at the Bureau international des poids et mesures in S@`evres, 28043kept at the Bureau international des poids et mesures in Sèvres,
28052France. (There are several copies of the IPK throughout the world.) 28044France. (There are several copies of the IPK throughout the world.)
28053The British imperial units, once defined in terms of physical objects, 28045The British imperial units, once defined in terms of physical objects,
28054were redefined in 1963 in terms of SI units. The US customary units, 28046were redefined in 1963 in terms of SI units. The US customary units,
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index b86df189bd8..5ad29cd79ad 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -83,7 +83,7 @@ the second with them pointing to the XEmacs manuals.
83 83
84@setfilename ../../info/ccmode.info 84@setfilename ../../info/ccmode.info
85@settitle CC Mode Manual 85@settitle CC Mode Manual
86@documentencoding UTF-8 86@include docstyle.texi
87@footnotestyle end 87@footnotestyle end
88 88
89@c The following four macros generate the filenames and titles of the 89@c The following four macros generate the filenames and titles of the
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 00e47b9f742..d7b3f4a0a68 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -1,7 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2@setfilename ../../info/cl.info 2@setfilename ../../info/cl.info
3@settitle Common Lisp Extensions 3@settitle Common Lisp Extensions
4@documentencoding UTF-8 4@include docstyle.texi
5@include emacsver.texi 5@include emacsver.texi
6 6
7@copying 7@copying
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi
index da18236bcf5..5dd8bf21c13 100644
--- a/doc/misc/dbus.texi
+++ b/doc/misc/dbus.texi
@@ -2,7 +2,7 @@
2@setfilename ../../info/dbus.info 2@setfilename ../../info/dbus.info
3@c %**start of header 3@c %**start of header
4@settitle Using of D-Bus 4@settitle Using of D-Bus
5@documentencoding UTF-8 5@include docstyle.texi
6@c @setchapternewpage odd 6@c @setchapternewpage odd
7@c %**end of header 7@c %**end of header
8 8
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi
index 90fb5119511..e6370f3d80b 100644
--- a/doc/misc/dired-x.texi
+++ b/doc/misc/dired-x.texi
@@ -9,7 +9,7 @@
9@comment %**start of header (This is for running Texinfo on a region.) 9@comment %**start of header (This is for running Texinfo on a region.)
10@setfilename ../../info/dired-x.info 10@setfilename ../../info/dired-x.info
11@settitle Dired Extra User's Manual 11@settitle Dired Extra User's Manual
12@documentencoding UTF-8 12@include docstyle.texi
13 13
14@include emacsver.texi 14@include emacsver.texi
15 15
diff --git a/doc/misc/ebrowse.texi b/doc/misc/ebrowse.texi
index 1b240079b70..74183a4d6a8 100644
--- a/doc/misc/ebrowse.texi
+++ b/doc/misc/ebrowse.texi
@@ -3,7 +3,7 @@
3@comment %**start of header 3@comment %**start of header
4@setfilename ../../info/ebrowse.info 4@setfilename ../../info/ebrowse.info
5@settitle A Class Browser for C++ 5@settitle A Class Browser for C++
6@documentencoding UTF-8 6@include docstyle.texi
7@setchapternewpage odd 7@setchapternewpage odd
8@syncodeindex fn cp 8@syncodeindex fn cp
9@comment %**end of header 9@comment %**end of header
diff --git a/doc/misc/ede.texi b/doc/misc/ede.texi
index dfe22b7b054..7a824acfed5 100644
--- a/doc/misc/ede.texi
+++ b/doc/misc/ede.texi
@@ -1,7 +1,7 @@
1\input texinfo 1\input texinfo
2@setfilename ../../info/ede.info 2@setfilename ../../info/ede.info
3@settitle Emacs Development Environment 3@settitle Emacs Development Environment
4@documentencoding UTF-8 4@include docstyle.texi
5 5
6@copying 6@copying
7This file describes EDE, the Emacs Development Environment. 7This file describes EDE, the Emacs Development Environment.
diff --git a/doc/misc/ediff.texi b/doc/misc/ediff.texi
index de54f288146..552e3be6598 100644
--- a/doc/misc/ediff.texi
+++ b/doc/misc/ediff.texi
@@ -1,4 +1,4 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*- mode: texinfo; coding: utf-8 -*-
2@c documentation for Ediff 2@c documentation for Ediff
3@c Written by Michael Kifer 3@c Written by Michael Kifer
4 4
@@ -10,7 +10,7 @@
10@setfilename ../../info/ediff.info 10@setfilename ../../info/ediff.info
11 11
12@settitle Ediff User's Manual 12@settitle Ediff User's Manual
13@documentencoding UTF-8 13@include docstyle.texi
14@synindex vr cp 14@synindex vr cp
15@synindex fn cp 15@synindex fn cp
16@synindex pg cp 16@synindex pg cp
@@ -2485,7 +2485,7 @@ Ray Nickson (nickson at cs.uq.oz.au),
2485Dan Nicolaescu (dann at ics.uci.edu), 2485Dan Nicolaescu (dann at ics.uci.edu),
2486David Petchey (petchey_david at jpmorgan.com), 2486David Petchey (petchey_david at jpmorgan.com),
2487Benjamin Pierce (benjamin.pierce at cl.cam.ac.uk), 2487Benjamin Pierce (benjamin.pierce at cl.cam.ac.uk),
2488Francois Pinard (pinard at iro.umontreal.ca), 2488François Pinard (pinard at iro.umontreal.ca),
2489Tibor Polgar (tlp00 at spg.amdahl.com), 2489Tibor Polgar (tlp00 at spg.amdahl.com),
2490David Prince (dave0d at fegs.co.uk), 2490David Prince (dave0d at fegs.co.uk),
2491Paul Raines (raines at slac.stanford.edu), 2491Paul Raines (raines at slac.stanford.edu),
diff --git a/doc/misc/edt.texi b/doc/misc/edt.texi
index c72aca27ef9..91f36e6c538 100644
--- a/doc/misc/edt.texi
+++ b/doc/misc/edt.texi
@@ -1,7 +1,7 @@
1\input texinfo 1\input texinfo
2@setfilename ../../info/edt.info 2@setfilename ../../info/edt.info
3@settitle EDT Emulation for Emacs 3@settitle EDT Emulation for Emacs
4@documentencoding UTF-8 4@include docstyle.texi
5 5
6@copying 6@copying
7This file documents the EDT emulation package for Emacs. 7This file documents the EDT emulation package for Emacs.
diff --git a/doc/misc/efaq-w32.texi b/doc/misc/efaq-w32.texi
index 566a6d75886..f8a188dba6b 100644
--- a/doc/misc/efaq-w32.texi
+++ b/doc/misc/efaq-w32.texi
@@ -1,6 +1,7 @@
1\input texinfo @c -*-coding:utf-8 -*- 1\input texinfo @c -*-coding:utf-8 -*-
2@setfilename ../../info/efaq-w32.info 2@setfilename ../../info/efaq-w32.info
3@settitle GNU Emacs FAQ For MS Windows 3@settitle GNU Emacs FAQ For MS Windows
4@include docstyle.texi
4@setchapternewpage odd 5@setchapternewpage odd
5@syncodeindex pg cp 6@syncodeindex pg cp
6@syncodeindex ky cp 7@syncodeindex ky cp
@@ -13,9 +14,6 @@ Answers to Frequently asked Questions about using Emacs on Microsoft Windows.
13 14
14@include emacsver.texi 15@include emacsver.texi
15 16
16@documentencoding utf-8
17@documentlanguage en
18
19@copying 17@copying
20Copyright @copyright{} 2008, 2010-2015 Free Software Foundation, Inc. 18Copyright @copyright{} 2008, 2010-2015 Free Software Foundation, Inc.
21 19
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 9fc8cfcd33c..3e9109d0924 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/efaq.info 3@setfilename ../../info/efaq.info
4@settitle GNU Emacs FAQ 4@settitle GNU Emacs FAQ
5@documentencoding UTF-8 5@include docstyle.texi
6@c %**end of header 6@c %**end of header
7 7
8@include emacsver.texi 8@include emacsver.texi
diff --git a/doc/misc/eieio.texi b/doc/misc/eieio.texi
index 5d1a8cf0702..fb4e1470016 100644
--- a/doc/misc/eieio.texi
+++ b/doc/misc/eieio.texi
@@ -3,7 +3,7 @@
3@set TITLE Enhanced Implementation of Emacs Interpreted Objects 3@set TITLE Enhanced Implementation of Emacs Interpreted Objects
4@set AUTHOR Eric M. Ludlam 4@set AUTHOR Eric M. Ludlam
5@settitle @value{TITLE} 5@settitle @value{TITLE}
6@documentencoding UTF-8 6@include docstyle.texi
7 7
8@c ************************************************************************* 8@c *************************************************************************
9@c @ Header 9@c @ Header
diff --git a/doc/misc/emacs-gnutls.texi b/doc/misc/emacs-gnutls.texi
index 25bb9d05f3e..4f6ef010ef3 100644
--- a/doc/misc/emacs-gnutls.texi
+++ b/doc/misc/emacs-gnutls.texi
@@ -4,7 +4,7 @@
4 4
5@setfilename ../../info/emacs-gnutls.info 5@setfilename ../../info/emacs-gnutls.info
6@settitle Emacs GnuTLS Integration @value{VERSION} 6@settitle Emacs GnuTLS Integration @value{VERSION}
7@documentencoding UTF-8 7@include docstyle.texi
8 8
9@copying 9@copying
10This file describes the Emacs GnuTLS integration. 10This file describes the Emacs GnuTLS integration.
diff --git a/doc/misc/emacs-mime.texi b/doc/misc/emacs-mime.texi
index 0147db34fff..3b3df0fa879 100644
--- a/doc/misc/emacs-mime.texi
+++ b/doc/misc/emacs-mime.texi
@@ -4,6 +4,7 @@
4 4
5@setfilename ../../info/emacs-mime.info 5@setfilename ../../info/emacs-mime.info
6@settitle Emacs MIME Manual 6@settitle Emacs MIME Manual
7@include docstyle.texi
7@synindex fn cp 8@synindex fn cp
8@synindex vr cp 9@synindex vr cp
9@synindex pg cp 10@synindex pg cp
@@ -27,7 +28,6 @@ modify this GNU manual.''
27@end copying 28@end copying
28 29
29@c Node ``Interface Functions'' uses non-ASCII characters 30@c Node ``Interface Functions'' uses non-ASCII characters
30@documentencoding UTF-8
31 31
32@dircategory Emacs lisp libraries 32@dircategory Emacs lisp libraries
33@direntry 33@direntry
diff --git a/doc/misc/epa.texi b/doc/misc/epa.texi
index 8de8604634a..6830ba7d220 100644
--- a/doc/misc/epa.texi
+++ b/doc/misc/epa.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/epa.info 3@setfilename ../../info/epa.info
4@settitle EasyPG Assistant User's Manual 4@settitle EasyPG Assistant User's Manual
5@documentencoding UTF-8 5@include docstyle.texi
6@c %**end of header 6@c %**end of header
7 7
8@set VERSION 1.0.0 8@set VERSION 1.0.0
diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi
index 9cdfe7702e5..9e570da3d1d 100644
--- a/doc/misc/erc.texi
+++ b/doc/misc/erc.texi
@@ -2,9 +2,9 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/erc.info 3@setfilename ../../info/erc.info
4@settitle ERC Manual 4@settitle ERC Manual
5@include docstyle.texi
5@syncodeindex fn cp 6@syncodeindex fn cp
6@include emacsver.texi 7@include emacsver.texi
7@documentencoding UTF-8
8@c %**end of header 8@c %**end of header
9 9
10@copying 10@copying
diff --git a/doc/misc/ert.texi b/doc/misc/ert.texi
index 710ebbba454..3192e4bdc0a 100644
--- a/doc/misc/ert.texi
+++ b/doc/misc/ert.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/ert.info 3@setfilename ../../info/ert.info
4@settitle Emacs Lisp Regression Testing 4@settitle Emacs Lisp Regression Testing
5@documentencoding UTF-8 5@include docstyle.texi
6@c %**end of header 6@c %**end of header
7 7
8@dircategory Emacs misc features 8@dircategory Emacs misc features
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi
index b2fbd7ac267..60a1af0678d 100644
--- a/doc/misc/eshell.texi
+++ b/doc/misc/eshell.texi
@@ -2,9 +2,9 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/eshell.info 3@setfilename ../../info/eshell.info
4@settitle Eshell: The Emacs Shell 4@settitle Eshell: The Emacs Shell
5@include docstyle.texi
5@defindex cm 6@defindex cm
6@synindex vr fn 7@synindex vr fn
7@documentencoding UTF-8
8@c %**end of header 8@c %**end of header
9 9
10@copying 10@copying
diff --git a/doc/misc/eudc.texi b/doc/misc/eudc.texi
index 064f5705777..33c9a0eb3a9 100644
--- a/doc/misc/eudc.texi
+++ b/doc/misc/eudc.texi
@@ -2,8 +2,8 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/eudc.info 3@setfilename ../../info/eudc.info
4@settitle Emacs Unified Directory Client (EUDC) Manual 4@settitle Emacs Unified Directory Client (EUDC) Manual
5@include docstyle.texi
5@afourpaper 6@afourpaper
6@documentencoding UTF-8
7@syncodeindex fn cp 7@syncodeindex fn cp
8@syncodeindex vr cp 8@syncodeindex vr cp
9@c %**end of header 9@c %**end of header
diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi
index c7f84b5d4f0..f1347b7b3bb 100644
--- a/doc/misc/eww.texi
+++ b/doc/misc/eww.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/eww.info 3@setfilename ../../info/eww.info
4@settitle Emacs Web Wowser 4@settitle Emacs Web Wowser
5@documentencoding UTF-8 5@include docstyle.texi
6@c %**end of header 6@c %**end of header
7 7
8@copying 8@copying
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi
index 31fa1ab26a9..6c924cf9547 100644
--- a/doc/misc/flymake.texi
+++ b/doc/misc/flymake.texi
@@ -4,8 +4,8 @@
4@set VERSION 0.3 4@set VERSION 0.3
5@set UPDATED April 2004 5@set UPDATED April 2004
6@settitle GNU Flymake @value{VERSION} 6@settitle GNU Flymake @value{VERSION}
7@include docstyle.texi
7@syncodeindex pg cp 8@syncodeindex pg cp
8@documentencoding UTF-8
9@comment %**end of header 9@comment %**end of header
10 10
11@copying 11@copying
diff --git a/doc/misc/forms.texi b/doc/misc/forms.texi
index ab284bd99bc..487cebd6cc2 100644
--- a/doc/misc/forms.texi
+++ b/doc/misc/forms.texi
@@ -5,6 +5,7 @@
5@comment %**start of header (This is for running Texinfo on a region.) 5@comment %**start of header (This is for running Texinfo on a region.)
6@setfilename ../../info/forms.info 6@setfilename ../../info/forms.info
7@settitle Forms Mode User's Manual 7@settitle Forms Mode User's Manual
8@include docstyle.texi
8@syncodeindex vr cp 9@syncodeindex vr cp
9@syncodeindex fn cp 10@syncodeindex fn cp
10@syncodeindex ky cp 11@syncodeindex ky cp
@@ -14,7 +15,6 @@
14@end iftex 15@end iftex
15@c @smallbook 16@c @smallbook
16@comment %**end of header (This is for running Texinfo on a region.) 17@comment %**end of header (This is for running Texinfo on a region.)
17@documentencoding UTF-8
18 18
19@copying 19@copying
20This file documents Forms mode, a form-editing major mode for GNU Emacs. 20This file documents Forms mode, a form-editing major mode for GNU Emacs.
diff --git a/doc/misc/gnus-coding.texi b/doc/misc/gnus-coding.texi
index bbead6b085b..a3be0edb965 100644
--- a/doc/misc/gnus-coding.texi
+++ b/doc/misc/gnus-coding.texi
@@ -2,7 +2,7 @@
2 2
3@setfilename gnus-coding.info 3@setfilename gnus-coding.info
4@settitle Gnus Coding Style and Maintenance Guide 4@settitle Gnus Coding Style and Maintenance Guide
5@documentencoding UTF-8 5@include docstyle.texi
6@syncodeindex fn cp 6@syncodeindex fn cp
7@syncodeindex vr cp 7@syncodeindex vr cp
8@syncodeindex pg cp 8@syncodeindex pg cp
diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi
index 8126827ffbd..76d1a5275e5 100644
--- a/doc/misc/gnus-faq.texi
+++ b/doc/misc/gnus-faq.texi
@@ -5,7 +5,7 @@
5@c 5@c
6@c @setfilename gnus-faq.info 6@c @setfilename gnus-faq.info
7@c @settitle Frequently Asked Questions 7@c @settitle Frequently Asked Questions
8@c @documentencoding UTF-8 8@c @include docstyle.texi
9@c %**end of header 9@c %**end of header
10@c 10@c
11 11
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 97e56e19cc0..d801031c563 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -4,12 +4,11 @@
4 4
5@setfilename ../../info/gnus.info 5@setfilename ../../info/gnus.info
6@settitle Gnus Manual 6@settitle Gnus Manual
7@include docstyle.texi
7@syncodeindex fn cp 8@syncodeindex fn cp
8@syncodeindex vr cp 9@syncodeindex vr cp
9@syncodeindex pg cp 10@syncodeindex pg cp
10 11
11@documentencoding UTF-8
12
13@copying 12@copying
14Copyright @copyright{} 1995--2015 Free Software Foundation, Inc. 13Copyright @copyright{} 1995--2015 Free Software Foundation, Inc.
15 14
@@ -9083,7 +9082,7 @@ CRs into LF (this takes care of Mac line endings)
9083Treat quoted-printable (@code{gnus-article-de-quoted-unreadable}). 9082Treat quoted-printable (@code{gnus-article-de-quoted-unreadable}).
9084Quoted-Printable is one common @acronym{MIME} encoding employed when 9083Quoted-Printable is one common @acronym{MIME} encoding employed when
9085sending non-@acronym{ASCII} (i.e., 8-bit) articles. It typically 9084sending non-@acronym{ASCII} (i.e., 8-bit) articles. It typically
9086makes strings like @samp{d@'ej@`a vu} look like @samp{d=E9j=E0 vu}, 9085makes strings like @samp{déjà vu} look like @samp{d=E9j=E0 vu},
9087which doesn't look very readable to me. Note that this is usually 9086which doesn't look very readable to me. Note that this is usually
9088done automatically by Gnus if the message in question has a 9087done automatically by Gnus if the message in question has a
9089@code{Content-Transfer-Encoding} header that says that this encoding 9088@code{Content-Transfer-Encoding} header that says that this encoding
@@ -16968,7 +16967,7 @@ group as read.
16968 16967
16969If the search engine changes its output substantially, @code{nnweb} 16968If the search engine changes its output substantially, @code{nnweb}
16970won't be able to parse it and will fail. One could hardly fault the Web 16969won't be able to parse it and will fail. One could hardly fault the Web
16971providers if they were to do this---their @emph{raison d'@^etre} is to 16970providers if they were to do this---their @emph{raison d'être} is to
16972make money off of advertisements, not to provide services to the 16971make money off of advertisements, not to provide services to the
16973community. Since @code{nnweb} washes the ads off all the articles, one 16972community. Since @code{nnweb} washes the ads off all the articles, one
16974might think that the providers might be somewhat miffed. We'll see. 16973might think that the providers might be somewhat miffed. We'll see.
@@ -26815,7 +26814,7 @@ David Moore---rewrite of @file{nnvirtual.el} and many other things.
26815Kevin Davidson---came up with the name @dfn{ding}, so blame him. 26814Kevin Davidson---came up with the name @dfn{ding}, so blame him.
26816 26815
26817@item 26816@item
26818Fran@,{c}ois Pinard---many, many interesting and thorough bug reports, as 26817François Pinard---many, many interesting and thorough bug reports, as
26819well as autoconf support. 26818well as autoconf support.
26820 26819
26821@end itemize 26820@end itemize
@@ -26923,7 +26922,7 @@ Gunnar Horrigmo,
26923Richard Hoskins, 26922Richard Hoskins,
26924Brad Howes, 26923Brad Howes,
26925Miguel de Icaza, 26924Miguel de Icaza,
26926Fran@,{c}ois Felix Ingrand, 26925François Felix Ingrand,
26927Tatsuya Ichikawa, @c Ichikawa 26926Tatsuya Ichikawa, @c Ichikawa
26928Ishikawa Ichiro, @c Ishikawa 26927Ishikawa Ichiro, @c Ishikawa
26929Lee Iverson, 26928Lee Iverson,
diff --git a/doc/misc/htmlfontify.texi b/doc/misc/htmlfontify.texi
index 8140b43e783..b14f2d3b8fd 100644
--- a/doc/misc/htmlfontify.texi
+++ b/doc/misc/htmlfontify.texi
@@ -2,8 +2,8 @@
2@comment %**start of header 2@comment %**start of header
3@setfilename ../../info/htmlfontify.info 3@setfilename ../../info/htmlfontify.info
4@settitle Htmlfontify User Manual 4@settitle Htmlfontify User Manual
5@include docstyle.texi
5@exampleindent 2 6@exampleindent 2
6@documentencoding UTF-8
7@comment %**end of header 7@comment %**end of header
8 8
9@copying 9@copying
diff --git a/doc/misc/idlwave.texi b/doc/misc/idlwave.texi
index ca449e44d0f..7fe8f51d986 100644
--- a/doc/misc/idlwave.texi
+++ b/doc/misc/idlwave.texi
@@ -2,6 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/idlwave.info 3@setfilename ../../info/idlwave.info
4@settitle IDLWAVE User Manual 4@settitle IDLWAVE User Manual
5@include docstyle.texi
5@synindex ky cp 6@synindex ky cp
6@syncodeindex vr cp 7@syncodeindex vr cp
7@syncodeindex fn cp 8@syncodeindex fn cp
@@ -12,7 +13,6 @@
12@set DATE April, 2007 13@set DATE April, 2007
13@set AUTHOR J.D. Smith & Carsten Dominik 14@set AUTHOR J.D. Smith & Carsten Dominik
14@set MAINTAINER J.D. Smith 15@set MAINTAINER J.D. Smith
15@documentencoding UTF-8
16@c %**end of header 16@c %**end of header
17@finalout 17@finalout
18 18
diff --git a/doc/misc/ido.texi b/doc/misc/ido.texi
index a80620f681f..afc323888c3 100644
--- a/doc/misc/ido.texi
+++ b/doc/misc/ido.texi
@@ -1,7 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2@setfilename ../../info/ido.info 2@setfilename ../../info/ido.info
3@settitle Interactive Do 3@settitle Interactive Do
4@documentencoding UTF-8 4@include docstyle.texi
5@include emacsver.texi 5@include emacsver.texi
6 6
7@copying 7@copying
diff --git a/doc/misc/info.texi b/doc/misc/info.texi
index 7337b467156..1439d30ccee 100644
--- a/doc/misc/info.texi
+++ b/doc/misc/info.texi
@@ -5,10 +5,10 @@
5@comment %**start of header 5@comment %**start of header
6@setfilename info.info 6@setfilename info.info
7@settitle Info 7@settitle Info
8@include docstyle.texi
8@syncodeindex fn cp 9@syncodeindex fn cp
9@syncodeindex vr cp 10@syncodeindex vr cp
10@syncodeindex ky cp 11@syncodeindex ky cp
11@documentencoding UTF-8
12@comment %**end of header 12@comment %**end of header
13 13
14@copying 14@copying
diff --git a/doc/misc/mairix-el.texi b/doc/misc/mairix-el.texi
index 16f490270fd..ef253a0138c 100644
--- a/doc/misc/mairix-el.texi
+++ b/doc/misc/mairix-el.texi
@@ -2,8 +2,7 @@
2 2
3@setfilename ../../info/mairix-el.info 3@setfilename ../../info/mairix-el.info
4@settitle Emacs Interface for Mairix 4@settitle Emacs Interface for Mairix
5 5@include docstyle.texi
6@documentencoding UTF-8
7 6
8@copying 7@copying
9Copyright @copyright{} 2008--2015 Free Software Foundation, Inc. 8Copyright @copyright{} 2008--2015 Free Software Foundation, Inc.
diff --git a/doc/misc/message.texi b/doc/misc/message.texi
index 884d8299921..d63f7e6a8f6 100644
--- a/doc/misc/message.texi
+++ b/doc/misc/message.texi
@@ -4,7 +4,7 @@
4 4
5@setfilename ../../info/message.info 5@setfilename ../../info/message.info
6@settitle Message Manual 6@settitle Message Manual
7@documentencoding UTF-8 7@include docstyle.texi
8@synindex fn cp 8@synindex fn cp
9@synindex vr cp 9@synindex vr cp
10@synindex pg cp 10@synindex pg cp
diff --git a/doc/misc/mh-e.texi b/doc/misc/mh-e.texi
index fc2303c60e1..8406a80b3d7 100644
--- a/doc/misc/mh-e.texi
+++ b/doc/misc/mh-e.texi
@@ -5,7 +5,7 @@
5@c %**start of header 5@c %**start of header
6@setfilename ../../info/mh-e.info 6@setfilename ../../info/mh-e.info
7@settitle The MH-E Manual 7@settitle The MH-E Manual
8@documentencoding UTF-8 8@include docstyle.texi
9@c %**end of header 9@c %**end of header
10 10
11@c Version of the software and manual. 11@c Version of the software and manual.
diff --git a/doc/misc/newsticker.texi b/doc/misc/newsticker.texi
index dfabb9290dd..9f7b6df1ab5 100644
--- a/doc/misc/newsticker.texi
+++ b/doc/misc/newsticker.texi
@@ -4,10 +4,10 @@
4@include emacsver.texi 4@include emacsver.texi
5@set VERSION @value{EMACSVER} 5@set VERSION @value{EMACSVER}
6@settitle Newsticker @value{VERSION} 6@settitle Newsticker @value{VERSION}
7@include docstyle.texi
7@syncodeindex vr cp 8@syncodeindex vr cp
8@syncodeindex fn cp 9@syncodeindex fn cp
9@syncodeindex pg cp 10@syncodeindex pg cp
10@documentencoding UTF-8
11@comment %**end of header 11@comment %**end of header
12 12
13@copying 13@copying
diff --git a/doc/misc/nxml-mode.texi b/doc/misc/nxml-mode.texi
index d213355b877..e87e6a05619 100644
--- a/doc/misc/nxml-mode.texi
+++ b/doc/misc/nxml-mode.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/nxml-mode.info 3@setfilename ../../info/nxml-mode.info
4@settitle nXML Mode 4@settitle nXML Mode
5@documentencoding UTF-8 5@include docstyle.texi
6@c %**end of header 6@c %**end of header
7 7
8@copying 8@copying
diff --git a/doc/misc/octave-mode.texi b/doc/misc/octave-mode.texi
index 3199ec4d146..34499c2d58c 100644
--- a/doc/misc/octave-mode.texi
+++ b/doc/misc/octave-mode.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/octave-mode.info 3@setfilename ../../info/octave-mode.info
4@settitle Octave Mode 4@settitle Octave Mode
5@documentencoding UTF-8 5@include docstyle.texi
6@c %**end of header 6@c %**end of header
7 7
8@copying 8@copying
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index a013632b4da..71572f72d7a 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -2,6 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/org.info 3@setfilename ../../info/org.info
4@settitle The Org Manual 4@settitle The Org Manual
5@include docstyle.texi
5 6
6@set VERSION 8.2.9 7@set VERSION 8.2.9
7 8
@@ -11,7 +12,6 @@
11@set MAINTAINER Carsten Dominik 12@set MAINTAINER Carsten Dominik
12@set MAINTAINEREMAIL @email{carsten at orgmode dot org} 13@set MAINTAINEREMAIL @email{carsten at orgmode dot org}
13@set MAINTAINERCONTACT @uref{mailto:carsten at orgmode dot org,contact the maintainer} 14@set MAINTAINERCONTACT @uref{mailto:carsten at orgmode dot org,contact the maintainer}
14@documentencoding UTF-8
15@c %**end of header 15@c %**end of header
16@finalout 16@finalout
17 17
@@ -18487,7 +18487,7 @@ enabled source code highlighting in Gnus.
18487Max-Planck-Institute for Neurology. He also inspired the creation of a 18487Max-Planck-Institute for Neurology. He also inspired the creation of a
18488concept index for HTML export. 18488concept index for HTML export.
18489@item 18489@item
18490@i{J@"urgen Vollmer} contributed code generating the table of contents 18490@i{Jürgen Vollmer} contributed code generating the table of contents
18491in HTML output. 18491in HTML output.
18492@item 18492@item
18493@i{Samuel Wales} has provided important feedback and bug reports. 18493@i{Samuel Wales} has provided important feedback and bug reports.
diff --git a/doc/misc/pcl-cvs.texi b/doc/misc/pcl-cvs.texi
index 6970c69c20a..dd2ba388348 100644
--- a/doc/misc/pcl-cvs.texi
+++ b/doc/misc/pcl-cvs.texi
@@ -2,8 +2,8 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/pcl-cvs.info 3@setfilename ../../info/pcl-cvs.info
4@settitle PCL-CVS---Emacs Front-End to CVS 4@settitle PCL-CVS---Emacs Front-End to CVS
5@include docstyle.texi
5@syncodeindex vr fn 6@syncodeindex vr fn
6@documentencoding UTF-8
7@c %**end of header 7@c %**end of header
8 8
9@copying 9@copying
diff --git a/doc/misc/pgg.texi b/doc/misc/pgg.texi
index a46c0fb8b4a..49a2cfd1851 100644
--- a/doc/misc/pgg.texi
+++ b/doc/misc/pgg.texi
@@ -6,8 +6,7 @@
6 6
7@set VERSION 0.1 7@set VERSION 0.1
8@settitle PGG @value{VERSION} 8@settitle PGG @value{VERSION}
9 9@include docstyle.texi
10@documentencoding UTF-8
11 10
12@copying 11@copying
13This file describes PGG @value{VERSION}, an Emacs interface to various 12This file describes PGG @value{VERSION}, an Emacs interface to various
diff --git a/doc/misc/rcirc.texi b/doc/misc/rcirc.texi
index 646122bf897..a707ba5f03e 100644
--- a/doc/misc/rcirc.texi
+++ b/doc/misc/rcirc.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/rcirc.info 3@setfilename ../../info/rcirc.info
4@settitle rcirc Manual 4@settitle rcirc Manual
5@documentencoding UTF-8 5@include docstyle.texi
6@c %**end of header 6@c %**end of header
7 7
8@copying 8@copying
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi
index 6488ae289a2..726ec4e8521 100644
--- a/doc/misc/reftex.texi
+++ b/doc/misc/reftex.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/reftex.info 3@setfilename ../../info/reftex.info
4@settitle RefTeX User Manual 4@settitle RefTeX User Manual
5@documentencoding UTF-8 5@include docstyle.texi
6@synindex ky cp 6@synindex ky cp
7@syncodeindex vr cp 7@syncodeindex vr cp
8@syncodeindex fn cp 8@syncodeindex fn cp
diff --git a/doc/misc/remember.texi b/doc/misc/remember.texi
index d64d0eaab62..d5a03b63f22 100644
--- a/doc/misc/remember.texi
+++ b/doc/misc/remember.texi
@@ -2,8 +2,8 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/remember.info 3@setfilename ../../info/remember.info
4@settitle Remember Manual 4@settitle Remember Manual
5@include docstyle.texi
5@syncodeindex fn cp 6@syncodeindex fn cp
6@documentencoding UTF-8
7@c %**end of header 7@c %**end of header
8 8
9@copying 9@copying
diff --git a/doc/misc/sasl.texi b/doc/misc/sasl.texi
index f6f0a98ba62..86bcd1a0a6a 100644
--- a/doc/misc/sasl.texi
+++ b/doc/misc/sasl.texi
@@ -6,8 +6,7 @@
6 6
7@set VERSION 0.2 7@set VERSION 0.2
8@settitle Emacs SASL Library @value{VERSION} 8@settitle Emacs SASL Library @value{VERSION}
9 9@include docstyle.texi
10@documentencoding UTF-8
11 10
12@copying 11@copying
13This file describes the Emacs SASL library, version @value{VERSION}. 12This file describes the Emacs SASL library, version @value{VERSION}.
diff --git a/doc/misc/sc.texi b/doc/misc/sc.texi
index a851fa2d981..ba366722758 100644
--- a/doc/misc/sc.texi
+++ b/doc/misc/sc.texi
@@ -3,7 +3,7 @@
3@comment %**start of header (This is for running Texinfo on a region.) 3@comment %**start of header (This is for running Texinfo on a region.)
4@setfilename ../../info/sc.info 4@setfilename ../../info/sc.info
5@settitle Supercite User's Manual 5@settitle Supercite User's Manual
6@documentencoding UTF-8 6@include docstyle.texi
7@iftex 7@iftex
8@finalout 8@finalout
9@end iftex 9@end iftex
diff --git a/doc/misc/semantic.texi b/doc/misc/semantic.texi
index 5f4a7821fec..71b81e76f9f 100644
--- a/doc/misc/semantic.texi
+++ b/doc/misc/semantic.texi
@@ -3,7 +3,7 @@
3@set TITLE Semantic Manual 3@set TITLE Semantic Manual
4@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim 4@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
5@settitle @value{TITLE} 5@settitle @value{TITLE}
6@documentencoding UTF-8 6@include docstyle.texi
7 7
8@c ************************************************************************* 8@c *************************************************************************
9@c @ Header 9@c @ Header
diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi
index 068505089a3..7017429f063 100644
--- a/doc/misc/ses.texi
+++ b/doc/misc/ses.texi
@@ -2,11 +2,11 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/ses.info 3@setfilename ../../info/ses.info
4@settitle @acronym{SES}: Simple Emacs Spreadsheet 4@settitle @acronym{SES}: Simple Emacs Spreadsheet
5@include docstyle.texi
5@setchapternewpage off 6@setchapternewpage off
6@syncodeindex fn cp 7@syncodeindex fn cp
7@syncodeindex vr cp 8@syncodeindex vr cp
8@syncodeindex ky cp 9@syncodeindex ky cp
9@documentencoding UTF-8
10@c %**end of header 10@c %**end of header
11 11
12@copying 12@copying
diff --git a/doc/misc/sieve.texi b/doc/misc/sieve.texi
index ca965e66bdd..e9cd9acb881 100644
--- a/doc/misc/sieve.texi
+++ b/doc/misc/sieve.texi
@@ -4,7 +4,7 @@
4 4
5@setfilename ../../info/sieve.info 5@setfilename ../../info/sieve.info
6@settitle Emacs Sieve Manual 6@settitle Emacs Sieve Manual
7@documentencoding UTF-8 7@include docstyle.texi
8@synindex fn cp 8@synindex fn cp
9@synindex vr cp 9@synindex vr cp
10@synindex pg cp 10@synindex pg cp
diff --git a/doc/misc/smtpmail.texi b/doc/misc/smtpmail.texi
index 314e6a03abc..2d4e7f94b16 100644
--- a/doc/misc/smtpmail.texi
+++ b/doc/misc/smtpmail.texi
@@ -1,7 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2@setfilename ../../info/smtpmail.info 2@setfilename ../../info/smtpmail.info
3@settitle Emacs SMTP Library 3@settitle Emacs SMTP Library
4@documentencoding UTF-8 4@include docstyle.texi
5@syncodeindex vr fn 5@syncodeindex vr fn
6@copying 6@copying
7Copyright @copyright{} 2003--2015 Free Software Foundation, Inc. 7Copyright @copyright{} 2003--2015 Free Software Foundation, Inc.
diff --git a/doc/misc/speedbar.texi b/doc/misc/speedbar.texi
index da507dbb83c..6ad369c8609 100644
--- a/doc/misc/speedbar.texi
+++ b/doc/misc/speedbar.texi
@@ -1,7 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2@setfilename ../../info/speedbar.info 2@setfilename ../../info/speedbar.info
3@settitle Speedbar: File/Tag summarizing utility 3@settitle Speedbar: File/Tag summarizing utility
4@documentencoding UTF-8 4@include docstyle.texi
5@syncodeindex fn cp 5@syncodeindex fn cp
6 6
7@copying 7@copying
diff --git a/doc/misc/srecode.texi b/doc/misc/srecode.texi
index b58cc4a204f..98fab5ceafa 100644
--- a/doc/misc/srecode.texi
+++ b/doc/misc/srecode.texi
@@ -4,7 +4,7 @@
4@set TITLE SRecoder Manual 4@set TITLE SRecoder Manual
5@set AUTHOR Eric M. Ludlam 5@set AUTHOR Eric M. Ludlam
6@settitle @value{TITLE} 6@settitle @value{TITLE}
7@documentencoding UTF-8 7@include docstyle.texi
8 8
9@c Merge all indexes into a single index for now. 9@c Merge all indexes into a single index for now.
10@c We can always separate them later into two or more as needed. 10@c We can always separate them later into two or more as needed.
diff --git a/doc/misc/todo-mode.texi b/doc/misc/todo-mode.texi
index 3032da34e28..69656da8880 100644
--- a/doc/misc/todo-mode.texi
+++ b/doc/misc/todo-mode.texi
@@ -2,10 +2,10 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/todo-mode.info 3@setfilename ../../info/todo-mode.info
4@settitle Todo Mode User Manual 4@settitle Todo Mode User Manual
5@include docstyle.texi
5@syncodeindex fn cp 6@syncodeindex fn cp
6@syncodeindex vr cp 7@syncodeindex vr cp
7@syncodeindex ky cp 8@syncodeindex ky cp
8@documentencoding UTF-8
9@c %**end of header 9@c %**end of header
10 10
11@copying 11@copying
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 1875a70af43..ece851ded93 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2,7 +2,7 @@
2@setfilename ../../info/tramp.info 2@setfilename ../../info/tramp.info
3@c %**start of header 3@c %**start of header
4@settitle TRAMP User Manual 4@settitle TRAMP User Manual
5@documentencoding UTF-8 5@include docstyle.texi
6@c %**end of header 6@c %**end of header
7 7
8@c This is *so* much nicer :) 8@c This is *so* much nicer :)
@@ -91,7 +91,7 @@ copy and modify this GNU manual.''
91@titlepage 91@titlepage
92@title @value{tramp} version @value{trampver} User Manual 92@title @value{tramp} version @value{trampver} User Manual
93@author by Daniel Pittman 93@author by Daniel Pittman
94@author based on documentation by Kai Gro@ss{}johann 94@author based on documentation by Kai Großjohann
95@page 95@page
96@insertcopying 96@insertcopying
97@end titlepage 97@end titlepage
@@ -1935,7 +1935,7 @@ of your (local or remote) host, you might need to adapt this. Example:
1935 "password" "Password" 1935 "password" "Password"
1936 ;; Deutsch 1936 ;; Deutsch
1937 "passwort" "Passwort" 1937 "passwort" "Passwort"
1938 ;; Fran@,{c}ais 1938 ;; Français
1939 "mot de passe" "Mot de passe") t) 1939 "mot de passe" "Mot de passe") t)
1940 ".*:\0? *")) 1940 ".*:\0? *"))
1941@end lisp 1941@end lisp
diff --git a/doc/misc/url.texi b/doc/misc/url.texi
index 8c4afbe28b6..d94b19f77b6 100644
--- a/doc/misc/url.texi
+++ b/doc/misc/url.texi
@@ -1,8 +1,7 @@
1\input texinfo 1\input texinfo
2@setfilename ../../info/url.info 2@setfilename ../../info/url.info
3@settitle URL Programmer's Manual 3@settitle URL Programmer's Manual
4 4@include docstyle.texi
5@documentencoding UTF-8
6 5
7@iftex 6@iftex
8@c @finalout 7@c @finalout
diff --git a/doc/misc/vhdl-mode.texi b/doc/misc/vhdl-mode.texi
index 829c4f6564b..b8b3850c55a 100644
--- a/doc/misc/vhdl-mode.texi
+++ b/doc/misc/vhdl-mode.texi
@@ -2,7 +2,7 @@
2 2
3@setfilename ../../info/vhdl-mode.info 3@setfilename ../../info/vhdl-mode.info
4@settitle VHDL Mode, an Emacs mode for editing VHDL code 4@settitle VHDL Mode, an Emacs mode for editing VHDL code
5@documentencoding UTF-8 5@include docstyle.texi
6 6
7@c Adapted from the VHDL Mode texinfo manual version 2 by Rodney J. Whitby. 7@c Adapted from the VHDL Mode texinfo manual version 2 by Rodney J. Whitby.
8@c Adapted from the CC Mode texinfo manual by Barry A. Warsaw. 8@c Adapted from the CC Mode texinfo manual by Barry A. Warsaw.
diff --git a/doc/misc/vip.texi b/doc/misc/vip.texi
index 250ced951b1..4680a098f06 100644
--- a/doc/misc/vip.texi
+++ b/doc/misc/vip.texi
@@ -1,8 +1,7 @@
1\input texinfo 1\input texinfo
2@setfilename ../../info/vip.info 2@setfilename ../../info/vip.info
3@settitle VIP 3@settitle VIP
4 4@include docstyle.texi
5@documentencoding UTF-8
6 5
7@copying 6@copying
8Copyright @copyright{} 1987, 2001--2015 Free Software Foundation, Inc. 7Copyright @copyright{} 1987, 2001--2015 Free Software Foundation, Inc.
diff --git a/doc/misc/viper.texi b/doc/misc/viper.texi
index cfaf4e66d85..f449e3b738b 100644
--- a/doc/misc/viper.texi
+++ b/doc/misc/viper.texi
@@ -5,8 +5,7 @@
5@comment @setfilename viper 5@comment @setfilename viper
6@comment @setfilename viper.info 6@comment @setfilename viper.info
7@setfilename ../../info/viper.info 7@setfilename ../../info/viper.info
8 8@include docstyle.texi
9@documentencoding UTF-8
10 9
11@copying 10@copying
12Copyright @copyright{} 1995--1997, 2001--2015 Free Software Foundation, Inc. 11Copyright @copyright{} 1995--1997, 2001--2015 Free Software Foundation, Inc.
diff --git a/doc/misc/widget.texi b/doc/misc/widget.texi
index 1942b79977a..ea785501698 100644
--- a/doc/misc/widget.texi
+++ b/doc/misc/widget.texi
@@ -2,10 +2,10 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/widget.info 3@setfilename ../../info/widget.info
4@settitle The Emacs Widget Library 4@settitle The Emacs Widget Library
5@include docstyle.texi
5@syncodeindex fn cp 6@syncodeindex fn cp
6@syncodeindex vr cp 7@syncodeindex vr cp
7@syncodeindex ky cp 8@syncodeindex ky cp
8@documentencoding UTF-8
9@c %**end of header 9@c %**end of header
10 10
11@copying 11@copying
diff --git a/doc/misc/wisent.texi b/doc/misc/wisent.texi
index 16b5d122df1..7bcc46d58f0 100644
--- a/doc/misc/wisent.texi
+++ b/doc/misc/wisent.texi
@@ -4,6 +4,7 @@
4@set TITLE Wisent Parser Development 4@set TITLE Wisent Parser Development
5@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim 5@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
6@settitle @value{TITLE} 6@settitle @value{TITLE}
7@include docstyle.texi
7 8
8@c ************************************************************************* 9@c *************************************************************************
9@c @ Header 10@c @ Header
@@ -20,7 +21,6 @@
20@c @footnotestyle separate 21@c @footnotestyle separate
21@c @paragraphindent 2 22@c @paragraphindent 2
22@c @@smallbook 23@c @@smallbook
23@documentencoding UTF-8
24@c %**end of header 24@c %**end of header
25 25
26@copying 26@copying
diff --git a/doc/misc/woman.texi b/doc/misc/woman.texi
index a935bedd47f..f1286fc3473 100644
--- a/doc/misc/woman.texi
+++ b/doc/misc/woman.texi
@@ -2,13 +2,13 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/woman.info 3@setfilename ../../info/woman.info
4@settitle WoMan: Browse Unix Manual Pages ``W.O. (without) Man'' 4@settitle WoMan: Browse Unix Manual Pages ``W.O. (without) Man''
5@include docstyle.texi
5@include emacsver.texi 6@include emacsver.texi
6@afourpaper 7@afourpaper
7@c With different size paper the printed page breaks will need attention! 8@c With different size paper the printed page breaks will need attention!
8@c Look for @page and @need commands. 9@c Look for @page and @need commands.
9@setchapternewpage off 10@setchapternewpage off
10@paragraphindent 0 11@paragraphindent 0
11@documentencoding UTF-8
12@c %**end of header 12@c %**end of header
13 13
14@copying 14@copying
diff --git a/etc/NEWS b/etc/NEWS
index 5046d300d45..74976527d6f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -817,6 +817,9 @@ name. The variable `system-name' is now obsolete.
817+++ 817+++
818** Function `write-region' no longer outputs "Wrote FILE" in batch mode. 818** Function `write-region' no longer outputs "Wrote FILE" in batch mode.
819 819
820** If `pwd' is called with a prefix argument, insert the current default
821directory at point.
822
820--- 823---
821** New utilities in subr-x.el: 824** New utilities in subr-x.el:
822*** New macros `if-let' and `when-let' allow defining bindings and to 825*** New macros `if-let' and `when-let' allow defining bindings and to
diff --git a/lisp/cedet/ede/locate.el b/lisp/cedet/ede/locate.el
index 2ff83418f78..a076c46513c 100644
--- a/lisp/cedet/ede/locate.el
+++ b/lisp/cedet/ede/locate.el
@@ -353,7 +353,7 @@ that created this EDE locate object."
353 353
354(cl-defmethod ede-locate-create/update-root-database 354(cl-defmethod ede-locate-create/update-root-database
355 ((loc (subclass ede-locate-cscope)) root) 355 ((loc (subclass ede-locate-cscope)) root)
356 "Create or update the GNU Global database for the current project." 356 "Create or update the Cscope database for the current project."
357 (require 'cedet-cscope) 357 (require 'cedet-cscope)
358 (cedet-cscope-create/update-database root)) 358 (cedet-cscope-create/update-database root))
359 359
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index d732c730bff..f0d2ee48ed2 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -979,16 +979,6 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'."
979 (lambda (x) (if (symbolp x) (list 'prin1-to-string x) x)) 979 (lambda (x) (if (symbolp x) (list 'prin1-to-string x) x))
980 args)))))) 980 args))))))
981 981
982(defvar byte-compile--interactive nil
983 "Determine if `byte-compile--message' uses the minibuffer.")
984
985(defun byte-compile--message (format &rest args)
986 "Like `message', except sometimes don't print to minibuffer.
987If the variable `byte-compile--interactive' is nil, the message
988is not displayed on the minibuffer."
989 (let ((inhibit-message (not byte-compile--interactive)))
990 (apply #'message format args)))
991
992;; Log something that isn't a warning. 982;; Log something that isn't a warning.
993(defun byte-compile-log-1 (string) 983(defun byte-compile-log-1 (string)
994 (with-current-buffer byte-compile-log-buffer 984 (with-current-buffer byte-compile-log-buffer
@@ -996,7 +986,7 @@ is not displayed on the minibuffer."
996 (goto-char (point-max)) 986 (goto-char (point-max))
997 (byte-compile-warning-prefix nil nil) 987 (byte-compile-warning-prefix nil nil)
998 (cond (noninteractive 988 (cond (noninteractive
999 (byte-compile--message " %s" string)) 989 (message " %s" string))
1000 (t 990 (t
1001 (insert (format "%s\n" string))))))) 991 (insert (format "%s\n" string)))))))
1002 992
@@ -1600,10 +1590,7 @@ extra args."
1600 "Recompile every `.el' file in DIRECTORY that already has a `.elc' file. 1590 "Recompile every `.el' file in DIRECTORY that already has a `.elc' file.
1601Files in subdirectories of DIRECTORY are processed also." 1591Files in subdirectories of DIRECTORY are processed also."
1602 (interactive "DByte force recompile (directory): ") 1592 (interactive "DByte force recompile (directory): ")
1603 (let ((byte-compile--interactive 1593 (byte-recompile-directory directory nil t))
1604 (or byte-compile--interactive
1605 (called-interactively-p 'any))))
1606 (byte-recompile-directory directory nil t)))
1607 1594
1608;;;###autoload 1595;;;###autoload
1609(defun byte-recompile-directory (directory &optional arg force) 1596(defun byte-recompile-directory (directory &optional arg force)
@@ -1633,9 +1620,6 @@ that already has a `.elc' file."
1633 (compilation-mode)) 1620 (compilation-mode))
1634 (let ((directories (list default-directory)) 1621 (let ((directories (list default-directory))
1635 (default-directory default-directory) 1622 (default-directory default-directory)
1636 (byte-compile--interactive
1637 (or byte-compile--interactive
1638 (called-interactively-p 'any)))
1639 (skip-count 0) 1623 (skip-count 0)
1640 (fail-count 0) 1624 (fail-count 0)
1641 (file-count 0) 1625 (file-count 0)
@@ -1644,7 +1628,7 @@ that already has a `.elc' file."
1644 (displaying-byte-compile-warnings 1628 (displaying-byte-compile-warnings
1645 (while directories 1629 (while directories
1646 (setq directory (car directories)) 1630 (setq directory (car directories))
1647 (byte-compile--message "Checking %s..." directory) 1631 (message "Checking %s..." directory)
1648 (dolist (file (directory-files directory)) 1632 (dolist (file (directory-files directory))
1649 (let ((source (expand-file-name file directory))) 1633 (let ((source (expand-file-name file directory)))
1650 (if (file-directory-p source) 1634 (if (file-directory-p source)
@@ -1669,13 +1653,13 @@ that already has a `.elc' file."
1669 (`t file-count) 1653 (`t file-count)
1670 (_ fail-count))) 1654 (_ fail-count)))
1671 (or noninteractive 1655 (or noninteractive
1672 (byte-compile--message "Checking %s..." directory)) 1656 (message "Checking %s..." directory))
1673 (if (not (eq last-dir directory)) 1657 (if (not (eq last-dir directory))
1674 (setq last-dir directory 1658 (setq last-dir directory
1675 dir-count (1+ dir-count))) 1659 dir-count (1+ dir-count)))
1676 ))))) 1660 )))))
1677 (setq directories (cdr directories)))) 1661 (setq directories (cdr directories))))
1678 (byte-compile--message "Done (Total of %d file%s compiled%s%s%s)" 1662 (message "Done (Total of %d file%s compiled%s%s%s)"
1679 file-count (if (= file-count 1) "" "s") 1663 file-count (if (= file-count 1) "" "s")
1680 (if (> fail-count 0) (format ", %d failed" fail-count) "") 1664 (if (> fail-count 0) (format ", %d failed" fail-count) "")
1681 (if (> skip-count 0) (format ", %d skipped" skip-count) "") 1665 (if (> skip-count 0) (format ", %d skipped" skip-count) "")
@@ -1722,10 +1706,7 @@ If compilation is needed, this functions returns the result of
1722 current-prefix-arg))) 1706 current-prefix-arg)))
1723 (let ((dest (byte-compile-dest-file filename)) 1707 (let ((dest (byte-compile-dest-file filename))
1724 ;; Expand now so we get the current buffer's defaults 1708 ;; Expand now so we get the current buffer's defaults
1725 (filename (expand-file-name filename)) 1709 (filename (expand-file-name filename)))
1726 (byte-compile--interactive
1727 (or byte-compile--interactive
1728 (called-interactively-p 'any))))
1729 (if (if (file-exists-p dest) 1710 (if (if (file-exists-p dest)
1730 ;; File was already compiled 1711 ;; File was already compiled
1731 ;; Compile if forced to, or filename newer 1712 ;; Compile if forced to, or filename newer
@@ -1737,7 +1718,7 @@ If compilation is needed, this functions returns the result of
1737 filename "? "))))) 1718 filename "? ")))))
1738 (progn 1719 (progn
1739 (if (and noninteractive (not byte-compile-verbose)) 1720 (if (and noninteractive (not byte-compile-verbose))
1740 (byte-compile--message "Compiling %s..." filename)) 1721 (message "Compiling %s..." filename))
1741 (byte-compile-file filename load)) 1722 (byte-compile-file filename load))
1742 (when load 1723 (when load
1743 (load (if (file-exists-p dest) dest filename))) 1724 (load (if (file-exists-p dest) dest filename)))
@@ -1781,9 +1762,6 @@ The value is non-nil if there were no errors, nil if errors."
1781 (let ((byte-compile-current-file filename) 1762 (let ((byte-compile-current-file filename)
1782 (byte-compile-current-group nil) 1763 (byte-compile-current-group nil)
1783 (set-auto-coding-for-load t) 1764 (set-auto-coding-for-load t)
1784 (byte-compile--interactive
1785 (or byte-compile--interactive
1786 (called-interactively-p 'any)))
1787 target-file input-buffer output-buffer 1765 target-file input-buffer output-buffer
1788 byte-compile-dest-file) 1766 byte-compile-dest-file)
1789 (setq target-file (byte-compile-dest-file filename)) 1767 (setq target-file (byte-compile-dest-file filename))
@@ -1839,14 +1817,14 @@ The value is non-nil if there were no errors, nil if errors."
1839 ;; (byte-compile-abbreviate-file filename) 1817 ;; (byte-compile-abbreviate-file filename)
1840 ;; (with-current-buffer input-buffer no-byte-compile)) 1818 ;; (with-current-buffer input-buffer no-byte-compile))
1841 (when (file-exists-p target-file) 1819 (when (file-exists-p target-file)
1842 (byte-compile--message "%s deleted because of `no-byte-compile: %s'" 1820 (message "%s deleted because of `no-byte-compile: %s'"
1843 (byte-compile-abbreviate-file target-file) 1821 (byte-compile-abbreviate-file target-file)
1844 (buffer-local-value 'no-byte-compile input-buffer)) 1822 (buffer-local-value 'no-byte-compile input-buffer))
1845 (condition-case nil (delete-file target-file) (error nil))) 1823 (condition-case nil (delete-file target-file) (error nil)))
1846 ;; We successfully didn't compile this file. 1824 ;; We successfully didn't compile this file.
1847 'no-byte-compile) 1825 'no-byte-compile)
1848 (when byte-compile-verbose 1826 (when byte-compile-verbose
1849 (byte-compile--message "Compiling %s..." filename)) 1827 (message "Compiling %s..." filename))
1850 (setq byte-compiler-error-flag nil) 1828 (setq byte-compiler-error-flag nil)
1851 ;; It is important that input-buffer not be current at this call, 1829 ;; It is important that input-buffer not be current at this call,
1852 ;; so that the value of point set in input-buffer 1830 ;; so that the value of point set in input-buffer
@@ -1858,7 +1836,7 @@ The value is non-nil if there were no errors, nil if errors."
1858 (if byte-compiler-error-flag 1836 (if byte-compiler-error-flag
1859 nil 1837 nil
1860 (when byte-compile-verbose 1838 (when byte-compile-verbose
1861 (byte-compile--message "Compiling %s...done" filename)) 1839 (message "Compiling %s...done" filename))
1862 (kill-buffer input-buffer) 1840 (kill-buffer input-buffer)
1863 (with-current-buffer output-buffer 1841 (with-current-buffer output-buffer
1864 (goto-char (point-max)) 1842 (goto-char (point-max))
@@ -1884,7 +1862,7 @@ The value is non-nil if there were no errors, nil if errors."
1884 ;; recompiled). Previously this was accomplished by 1862 ;; recompiled). Previously this was accomplished by
1885 ;; deleting target-file before writing it. 1863 ;; deleting target-file before writing it.
1886 (rename-file tempfile target-file t) 1864 (rename-file tempfile target-file t)
1887 (or noninteractive (byte-compile--message "Wrote %s" target-file))) 1865 (or noninteractive (message "Wrote %s" target-file)))
1888 ;; This is just to give a better error message than write-region 1866 ;; This is just to give a better error message than write-region
1889 (signal 'file-error 1867 (signal 'file-error
1890 (list "Opening output file" 1868 (list "Opening output file"
@@ -1918,9 +1896,6 @@ With argument ARG, insert value in current buffer after the form."
1918 (byte-compile-read-position (point)) 1896 (byte-compile-read-position (point))
1919 (byte-compile-last-position byte-compile-read-position) 1897 (byte-compile-last-position byte-compile-read-position)
1920 (byte-compile-last-warned-form 'nothing) 1898 (byte-compile-last-warned-form 'nothing)
1921 (byte-compile--interactive
1922 (or byte-compile--interactive
1923 (called-interactively-p 'any)))
1924 (value (eval 1899 (value (eval
1925 (let ((read-with-symbol-positions (current-buffer)) 1900 (let ((read-with-symbol-positions (current-buffer))
1926 (read-symbol-positions-list nil)) 1901 (read-symbol-positions-list nil))
@@ -1928,10 +1903,10 @@ With argument ARG, insert value in current buffer after the form."
1928 (byte-compile-sexp (read (current-buffer))))) 1903 (byte-compile-sexp (read (current-buffer)))))
1929 lexical-binding))) 1904 lexical-binding)))
1930 (cond (arg 1905 (cond (arg
1931 (byte-compile--message "Compiling from buffer... done.") 1906 (message "Compiling from buffer... done.")
1932 (prin1 value (current-buffer)) 1907 (prin1 value (current-buffer))
1933 (insert "\n")) 1908 (insert "\n"))
1934 ((byte-compile--message "%s" (prin1-to-string value))))))) 1909 ((message "%s" (prin1-to-string value)))))))
1935 1910
1936(defun byte-compile-from-buffer (inbuffer) 1911(defun byte-compile-from-buffer (inbuffer)
1937 (let ((byte-compile-current-buffer inbuffer) 1912 (let ((byte-compile-current-buffer inbuffer)
@@ -2435,7 +2410,7 @@ not to take responsibility for the actual compilation of the code."
2435 (byte-compile-arglist-warn name arglist macro)) 2410 (byte-compile-arglist-warn name arglist macro))
2436 2411
2437 (if byte-compile-verbose 2412 (if byte-compile-verbose
2438 (byte-compile--message "Compiling %s... (%s)" 2413 (message "Compiling %s... (%s)"
2439 (or byte-compile-current-file "") name)) 2414 (or byte-compile-current-file "") name))
2440 (cond ((not (or macro (listp body))) 2415 (cond ((not (or macro (listp body)))
2441 ;; We do not know positively if the definition is a macro 2416 ;; We do not know positively if the definition is a macro
@@ -2605,7 +2580,7 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2605 ;; error to a simple message for the known case where signaling an error 2580 ;; error to a simple message for the known case where signaling an error
2606 ;; causes problems. 2581 ;; causes problems.
2607 ((byte-code-function-p fun) 2582 ((byte-code-function-p fun)
2608 (byte-compile--message "Function %s is already compiled" 2583 (message "Function %s is already compiled"
2609 (if (symbolp form) form "provided")) 2584 (if (symbolp form) form "provided"))
2610 fun) 2585 fun)
2611 (t 2586 (t
@@ -4423,8 +4398,8 @@ binding slots have been popped."
4423 name macro arglist body rest) 4398 name macro arglist body rest)
4424 (when macro 4399 (when macro
4425 (if (null fun) 4400 (if (null fun)
4426 (byte-compile--message "Macro %s unrecognized, won't work in file" name) 4401 (message "Macro %s unrecognized, won't work in file" name)
4427 (byte-compile--message "Macro %s partly recognized, trying our luck" name) 4402 (message "Macro %s partly recognized, trying our luck" name)
4428 (push (cons name (eval fun)) 4403 (push (cons name (eval fun))
4429 byte-compile-macro-environment))) 4404 byte-compile-macro-environment)))
4430 (byte-compile-keep-pending form)))) 4405 (byte-compile-keep-pending form))))
@@ -4550,11 +4525,11 @@ The call tree also lists those functions which are not known to be called
4550\(that is, to which no calls have been compiled\), and which cannot be 4525\(that is, to which no calls have been compiled\), and which cannot be
4551invoked interactively." 4526invoked interactively."
4552 (interactive) 4527 (interactive)
4553 (byte-compile--message "Generating call tree...") 4528 (message "Generating call tree...")
4554 (with-output-to-temp-buffer "*Call-Tree*" 4529 (with-output-to-temp-buffer "*Call-Tree*"
4555 (set-buffer "*Call-Tree*") 4530 (set-buffer "*Call-Tree*")
4556 (erase-buffer) 4531 (erase-buffer)
4557 (byte-compile--message "Generating call tree... (sorting on %s)" 4532 (message "Generating call tree... (sorting on %s)"
4558 byte-compile-call-tree-sort) 4533 byte-compile-call-tree-sort)
4559 (insert "Call tree for " 4534 (insert "Call tree for "
4560 (cond ((null byte-compile-current-file) (or filename "???")) 4535 (cond ((null byte-compile-current-file) (or filename "???"))
diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el
index 92d7234bc73..bf3f44206c4 100644
--- a/lisp/emacs-lisp/eieio-core.el
+++ b/lisp/emacs-lisp/eieio-core.el
@@ -730,7 +730,7 @@ Argument FN is the function calling this verifier."
730 (cl-check-type slot symbol) 730 (cl-check-type slot symbol)
731 (cl-check-type obj (or eieio-object class)) 731 (cl-check-type obj (or eieio-object class))
732 (let* ((class (cond ((symbolp obj) 732 (let* ((class (cond ((symbolp obj)
733 (error "eieio-oref called on a class!") 733 (error "eieio-oref called on a class: %s" obj)
734 (let ((c (eieio--class-v obj))) 734 (let ((c (eieio--class-v obj)))
735 (if (eieio--class-p c) (eieio-class-un-autoload obj)) 735 (if (eieio--class-p c) (eieio-class-un-autoload obj))
736 c)) 736 c))
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index 384fef546ae..8dc8261365f 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -269,7 +269,7 @@ DATA is displayed to the user and should state the reason for skipping."
269(defun ert--special-operator-p (thing) 269(defun ert--special-operator-p (thing)
270 "Return non-nil if THING is a symbol naming a special operator." 270 "Return non-nil if THING is a symbol naming a special operator."
271 (and (symbolp thing) 271 (and (symbolp thing)
272 (let ((definition (ignore-errors (indirect-function thing)))) 272 (let ((definition (indirect-function thing)))
273 (and (subrp definition) 273 (and (subrp definition)
274 (eql (cdr (subr-arity definition)) 'unevalled))))) 274 (eql (cdr (subr-arity definition)) 'unevalled)))))
275 275
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el
index 978c3f0dd30..5a81bb20e57 100644
--- a/lisp/emacs-lisp/pcase.el
+++ b/lisp/emacs-lisp/pcase.el
@@ -91,6 +91,10 @@
91 91
92(def-edebug-spec pcase-MACRO pcase--edebug-match-macro) 92(def-edebug-spec pcase-MACRO pcase--edebug-match-macro)
93 93
94;; Only called from edebug.
95(declare-function get-edebug-spec "edebug" (symbol))
96(declare-function edebug-match "edebug" (cursor specs))
97
94(defun pcase--edebug-match-macro (cursor) 98(defun pcase--edebug-match-macro (cursor)
95 (let (specs) 99 (let (specs)
96 (mapatoms 100 (mapatoms
@@ -158,12 +162,18 @@ Currently, the following patterns are provided this way:"
158 ;; (puthash (car cases) `(,exp ,cases ,@expansion) pcase--memoize-2) 162 ;; (puthash (car cases) `(,exp ,cases ,@expansion) pcase--memoize-2)
159 expansion)))) 163 expansion))))
160 164
165(declare-function help-fns--signature "help-fns"
166 (function doc real-def real-function))
167
161;; FIXME: Obviously, this will collide with nadvice's use of 168;; FIXME: Obviously, this will collide with nadvice's use of
162;; function-documentation if we happen to advise `pcase'. 169;; function-documentation if we happen to advise `pcase'.
163(put 'pcase 'function-documentation '(pcase--make-docstring)) 170(put 'pcase 'function-documentation '(pcase--make-docstring))
164(defun pcase--make-docstring () 171(defun pcase--make-docstring ()
165 (let* ((main (documentation (symbol-function 'pcase) 'raw)) 172 (let* ((main (documentation (symbol-function 'pcase) 'raw))
166 (ud (help-split-fundoc main 'pcase))) 173 (ud (help-split-fundoc main 'pcase)))
174 ;; So that eg emacs -Q -l cl-lib --eval "(documentation 'pcase)" works,
175 ;; where cl-lib is anything using pcase-defmacro.
176 (require 'help-fns)
167 (with-temp-buffer 177 (with-temp-buffer
168 (insert (or (cdr ud) main)) 178 (insert (or (cdr ud) main))
169 (mapatoms 179 (mapatoms
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el
index 2f3f519e986..456debf5f7c 100644
--- a/lisp/emacs-lisp/seq.el
+++ b/lisp/emacs-lisp/seq.el
@@ -344,6 +344,7 @@ This is an optimization for lists in `seq-take-while'."
344(defalias 'seq-do #'mapc) 344(defalias 'seq-do #'mapc)
345(defalias 'seq-each #'seq-do) 345(defalias 'seq-each #'seq-do)
346(defalias 'seq-map #'mapcar) 346(defalias 'seq-map #'mapcar)
347(defalias 'seq-p #'sequencep)
347 348
348(unless (fboundp 'elisp--font-lock-flush-elisp-buffers) 349(unless (fboundp 'elisp--font-lock-flush-elisp-buffers)
349 ;; In Emacs≥25, (via elisp--font-lock-flush-elisp-buffers and a few others) 350 ;; In Emacs≥25, (via elisp--font-lock-flush-elisp-buffers and a few others)
diff --git a/lisp/files.el b/lisp/files.el
index 045eeaf154c..ef6ac7b8c92 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -654,10 +654,14 @@ the value of `default-directory'."
654 'file-directory-p)) 654 'file-directory-p))
655 655
656 656
657(defun pwd () 657(defun pwd (&optional insert)
658 "Show the current default directory." 658 "Show the current default directory.
659 (interactive nil) 659With prefix argument INSERT, insert the current default directory
660 (message "Directory %s" default-directory)) 660at point instead."
661 (interactive "P")
662 (if insert
663 (insert default-directory)
664 (message "Directory %s" default-directory)))
661 665
662(defvar cd-path nil 666(defvar cd-path nil
663 "Value of the CDPATH environment variable, as a list. 667 "Value of the CDPATH environment variable, as a list.
diff --git a/lisp/isearch.el b/lisp/isearch.el
index c714ba0055d..dc10502309f 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -452,7 +452,7 @@ This is like `describe-bindings', but displays only Isearch keys."
452 (define-key map "\M-\C-s" 'isearch-repeat-forward) 452 (define-key map "\M-\C-s" 'isearch-repeat-forward)
453 (define-key map "\M-\C-r" 'isearch-repeat-backward) 453 (define-key map "\M-\C-r" 'isearch-repeat-backward)
454 (define-key map "\177" 'isearch-delete-char) 454 (define-key map "\177" 'isearch-delete-char)
455 (define-key map [backspace] 'isearch-delete-char) 455 (define-key map [backspace] 'undefined) ;bug#20466.
456 (define-key map "\C-g" 'isearch-abort) 456 (define-key map "\C-g" 'isearch-abort)
457 457
458 ;; This assumes \e is the meta-prefix-char. 458 ;; This assumes \e is the meta-prefix-char.
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el
index 357625d10cf..19d0473c42d 100644
--- a/lisp/progmodes/cmacexp.el
+++ b/lisp/progmodes/cmacexp.el
@@ -364,8 +364,8 @@ Optional arg DISPLAY non-nil means show messages in the echo area."
364 ;; Find and delete the mark of the start of the expansion. 364 ;; Find and delete the mark of the start of the expansion.
365 ;; Look for `# nn "file.c"' lines and delete them. 365 ;; Look for `# nn "file.c"' lines and delete them.
366 (goto-char (point-min)) 366 (goto-char (point-min))
367 (search-forward startmarker) 367 (if (search-forward startmarker nil t)
368 (delete-region 1 (point))) 368 (delete-region 1 (point))))
369 (while (re-search-forward (concat "^# [0-9]+ \"" 369 (while (re-search-forward (concat "^# [0-9]+ \""
370 (regexp-quote filename) 370 (regexp-quote filename)
371 "\"") nil t) 371 "\"") nil t)
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index f2890686e79..2bb661a59c8 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -587,6 +587,8 @@ It can be quoted, or be inside a quoted form."
587 (let ((sym (intern-soft id))) 587 (let ((sym (intern-soft id)))
588 (when sym 588 (when sym
589 (elisp--xref-find-definitions sym)))) 589 (elisp--xref-find-definitions sym))))
590 (`references
591 (elisp--xref-find-references id))
590 (`apropos 592 (`apropos
591 (elisp--xref-find-apropos id)))) 593 (elisp--xref-find-apropos id))))
592 594
@@ -635,6 +637,25 @@ It can be quoted, or be inside a quoted form."
635 lst)))) 637 lst))))
636 lst))) 638 lst)))
637 639
640(defun elisp--xref-find-references (symbol)
641 (let* ((dirs (sort
642 (mapcar
643 (lambda (dir)
644 (file-name-as-directory (expand-file-name dir)))
645 (cons package-user-dir load-path))
646 #'string<))
647 (ref dirs))
648 ;; Delete subdirectories from the list.
649 (while (cdr ref)
650 (if (string-prefix-p (car ref) (cadr ref))
651 (setcdr ref (cddr ref))
652 (setq ref (cdr ref))))
653 (cl-mapcan
654 (lambda (dir)
655 (and (file-exists-p dir)
656 (xref-collect-references symbol dir)))
657 dirs)))
658
638(defun elisp--xref-find-apropos (regexp) 659(defun elisp--xref-find-apropos (regexp)
639 (apply #'nconc 660 (apply #'nconc
640 (let (lst) 661 (let (lst)
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index b4ce8b11c9c..4e923aac197 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -2082,6 +2082,15 @@ for \\[find-tag] (which see)."
2082(defun etags-xref-find (action id) 2082(defun etags-xref-find (action id)
2083 (pcase action 2083 (pcase action
2084 (`definitions (etags--xref-find-definitions id)) 2084 (`definitions (etags--xref-find-definitions id))
2085 (`references
2086 (let ((dirs (if tags-table-list
2087 (mapcar #'file-name-directory tags-table-list)
2088 ;; If no tags files are loaded, prompt for the dir.
2089 (list (read-directory-name "In directory: " nil nil t)))))
2090 (cl-mapcan
2091 (lambda (dir)
2092 (xref-collect-references id dir))
2093 dirs)))
2085 (`apropos (etags--xref-find-definitions id t)))) 2094 (`apropos (etags--xref-find-definitions id t))))
2086 2095
2087(defun etags--xref-find-definitions (pattern &optional regexp?) 2096(defun etags--xref-find-definitions (pattern &optional regexp?)
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index fc27c268845..099c08045b2 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -674,6 +674,49 @@ and just use etags."
674 (setq-local xref-identifier-completion-table-function 674 (setq-local xref-identifier-completion-table-function
675 (cdr xref-etags-mode--saved)))) 675 (cdr xref-etags-mode--saved))))
676 676
677(declare-function semantic-symref-find-references-by-name "semantic/symref")
678(declare-function semantic-find-file-noselect "semantic/fw")
679
680(defun xref-collect-references (name dir)
681 "Collect mentions of NAME inside DIR.
682Uses the Semantic Symbol Reference API, see
683`semantic-symref-find-references-by-name' for details on which
684tools are used, and when."
685 (require 'semantic/symref)
686 (defvar semantic-symref-tool)
687 (cl-assert (directory-name-p dir))
688 (let* ((default-directory dir)
689 (semantic-symref-tool 'detect)
690 (res (semantic-symref-find-references-by-name name 'subdirs))
691 (hits (and res (oref res :hit-lines)))
692 (orig-buffers (buffer-list)))
693 (unwind-protect
694 (delq nil
695 (mapcar (lambda (hit) (xref--collect-reference hit name)) hits))
696 (mapc #'kill-buffer
697 (cl-set-difference (buffer-list) orig-buffers)))))
698
699(defun xref--collect-reference (hit name)
700 (pcase-let* ((`(,line . ,file) hit)
701 (buf (or (find-buffer-visiting file)
702 (semantic-find-file-noselect file))))
703 (with-current-buffer buf
704 (save-excursion
705 (goto-char (point-min))
706 (forward-line (1- line))
707 (when (re-search-forward (format "\\_<%s\\_>"
708 (regexp-quote name))
709 (line-end-position) t)
710 (goto-char (match-beginning 0))
711 (xref-make (format
712 "%d: %s"
713 line
714 (buffer-substring
715 (line-beginning-position)
716 (line-end-position)))
717 (xref-make-file-location file line
718 (current-column))))))))
719
677 720
678(provide 'xref) 721(provide 'xref)
679 722
diff --git a/lisp/simple.el b/lisp/simple.el
index cf1912ade4f..31efe3896d4 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -6992,8 +6992,9 @@ The function should return non-nil if the two tokens do not match.")
6992 (buffer-substring blinkpos (1+ blinkpos)))) 6992 (buffer-substring blinkpos (1+ blinkpos))))
6993 ;; There is nothing to show except the char itself. 6993 ;; There is nothing to show except the char itself.
6994 (t (buffer-substring blinkpos (1+ blinkpos)))))) 6994 (t (buffer-substring blinkpos (1+ blinkpos))))))
6995 (message "Matches %s" 6995 (minibuffer-message
6996 (substring-no-properties open-paren-line-string))))))))) 6996 "Matches %s"
6997 (substring-no-properties open-paren-line-string)))))))))
6997 6998
6998(defvar blink-paren-function 'blink-matching-open 6999(defvar blink-paren-function 'blink-matching-open
6999 "Function called, if non-nil, whenever a close parenthesis is inserted. 7000 "Function called, if non-nil, whenever a close parenthesis is inserted.
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index b4cd67ff6b9..fad3e2f3ea6 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -538,31 +538,34 @@ cleaning up a buffer. See `whitespace-cleanup' and
538`whitespace-cleanup-region' for documentation. 538`whitespace-cleanup-region' for documentation.
539 539
540See also `whitespace-display-mappings' for documentation." 540See also `whitespace-display-mappings' for documentation."
541 :type '(repeat :tag "Kind of Blank" 541 :type '(set :tag "Kind of Blank"
542 (choice :tag "Kind of Blank Face" 542 (const :tag "(Face) Face visualization" face)
543 (const :tag "(Face) Face visualization" 543 (const :tag "(Face) Trailing TABs, SPACEs and HARD SPACEs"
544 face) 544 trailing)
545 (const :tag "(Face) Trailing TABs, SPACEs and HARD SPACEs" 545 (const :tag "(Face) TABs" tabs)
546 trailing) 546 (const :tag "(Face) SPACEs and HARD SPACEs" spaces)
547 (const :tag "(Face) SPACEs and HARD SPACEs" 547 (const :tag "(Face) Lines" lines)
548 spaces) 548 (const :tag "(Face) Lines, only overlong part" lines-tail)
549 (const :tag "(Face) TABs" tabs) 549 (const :tag "(Face) NEWLINEs" newline)
550 (const :tag "(Face) Lines" lines) 550 (const :tag "(Face) Empty Lines At BOB And/Or EOB" empty)
551 (const :tag "(Face) SPACEs before TAB" 551 (const :tag "(Face) Indentation SPACEs" indentation::tab)
552 space-before-tab) 552 (const :tag "(Face) Indentation TABs"
553 (const :tag "(Face) NEWLINEs" newline) 553 indentation::space)
554 (const :tag "(Face) Indentation SPACEs" 554 (const :tag "(Face) Indentation TABs or SPACEs" indentation)
555 indentation) 555 (const :tag "(Face) Too much line indentation" big-indent)
556 (const :tag "(Face) Too much line indentation" 556 (const :tag "(Face) SPACEs after TAB: SPACEs"
557 big-indent) 557 space-after-tab::tab)
558 (const :tag "(Face) Empty Lines At BOB And/Or EOB" 558 (const :tag "(Face) SPACEs after TAB: TABs"
559 empty) 559 space-after-tab::space)
560 (const :tag "(Face) SPACEs after TAB" 560 (const :tag "(Face) SPACEs after TAB" space-after-tab)
561 space-after-tab) 561 (const :tag "(Face) SPACEs before TAB: SPACEs"
562 (const :tag "(Mark) SPACEs and HARD SPACEs" 562 space-before-tab::tab)
563 space-mark) 563 (const :tag "(Face) SPACEs before TAB: TABs"
564 (const :tag "(Mark) TABs" tab-mark) 564 space-before-tab::space)
565 (const :tag "(Mark) NEWLINEs" newline-mark))) 565 (const :tag "(Face) SPACEs before TAB" space-before-tab)
566 (const :tag "(Mark) SPACEs and HARD SPACEs" space-mark)
567 (const :tag "(Mark) TABs" tab-mark)
568 (const :tag "(Mark) NEWLINEs" newline-mark))
566 :group 'whitespace) 569 :group 'whitespace)
567 570
568(defvar whitespace-space 'whitespace-space 571(defvar whitespace-space 'whitespace-space
diff --git a/test/automated/cl-lib-tests.el b/test/automated/cl-lib-tests.el
index ce0e5918653..ece1d45cae0 100644
--- a/test/automated/cl-lib-tests.el
+++ b/test/automated/cl-lib-tests.el
@@ -422,6 +422,47 @@
422 ;; should return a copy 422 ;; should return a copy
423 (should-not (eq (cl-ldiff l '()) l)))) 423 (should-not (eq (cl-ldiff l '()) l))))
424 424
425(ert-deftest cl-lib-adjoin-test ()
426 (let ((nums '(1 2))
427 (myfn-p '=))
428 ;; add non-existing item to the front
429 (should (equal '(3 1 2) (cl-adjoin 3 nums)))
430 ;; just add - don't copy rest
431 (should (eq nums (cdr (cl-adjoin 3 nums))))
432 ;; add only when not already there
433 (should (eq nums (cl-adjoin 2 nums)))
434 (should (equal '(2 1 (2)) (cl-adjoin 2 '(1 (2)))))
435 ;; default test function is eql
436 (should (equal '(1.0 1 2) (cl-adjoin 1.0 nums)))
437 ;; own :test function - returns true if match
438 (should (equal '(1.0 1 2) (cl-adjoin 1.0 nums :test nil))) ;defaults to eql
439 (should (eq nums (cl-adjoin 2 nums :test myfn-p))) ;match
440 (should (equal '(3 1 2) (cl-adjoin 3 nums :test myfn-p))) ;no match
441 ;; own :test-not function - returns false if match
442 (should (equal '(1.0 1 2) (cl-adjoin 1.0 nums :test-not nil))) ;defaults to eql
443 (should (equal '(2 2) (cl-adjoin 2 '(2) :test-not myfn-p))) ; no match
444 (should (eq nums (cl-adjoin 2 nums :test-not myfn-p))) ; 1 matches
445 (should (eq nums (cl-adjoin 3 nums :test-not myfn-p))) ; 1 and 2 matches
446
447 ;; according to CLTL2 passing both :test and :test-not should signal error
448 ;;(should-error (cl-adjoin 3 nums :test 'myfn-p :test-not myfn-p))
449
450 ;; own :key fn
451 (should (eq nums (cl-adjoin 3 nums :key (lambda (x) (if (cl-evenp x) (1+ x) x)))))
452 (should (equal '(3 1 2) (cl-adjoin 3 nums :key (lambda (x) (if (cl-evenp x) (+ 2 x) x)))))
453
454 ;; convert using :key, then compare with :test
455 (should (eq nums (cl-adjoin 1 nums :key 'int-to-string :test 'string=)))
456 (should (equal '(3 1 2) (cl-adjoin 3 nums :key 'int-to-string :test 'string=)))
457 (should-error (cl-adjoin 3 nums :key 'int-to-string :test myfn-p)
458 :type 'wrong-type-argument)
459
460 ;; convert using :key, then compare with :test-not
461 (should (eq nums (cl-adjoin 3 nums :key 'int-to-string :test-not 'string=)))
462 (should (equal '(1 1) (cl-adjoin 1 '(1) :key 'int-to-string :test-not 'string=)))
463 (should-error (cl-adjoin 1 nums :key 'int-to-string :test-not myfn-p)
464 :type 'wrong-type-argument)))
465
425(ert-deftest cl-parse-integer () 466(ert-deftest cl-parse-integer ()
426 (should-error (cl-parse-integer "abc")) 467 (should-error (cl-parse-integer "abc"))
427 (should (null (cl-parse-integer "abc" :junk-allowed t))) 468 (should (null (cl-parse-integer "abc" :junk-allowed t)))