aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2020-01-28 07:50:22 -0800
committerGlenn Morris2020-01-28 07:50:22 -0800
commit60a3c5d56c5684913e1ae77464d7c9e71bc04560 (patch)
treeeff936192f906634481b5035a93cb138a2a4f005
parent5ee3c37634f7f8651b2da1f4b611334a2b146928 (diff)
parent1bcac29b2f9980bf47f64217a3b6be5979051fe6 (diff)
downloademacs-60a3c5d56c5684913e1ae77464d7c9e71bc04560.tar.gz
emacs-60a3c5d56c5684913e1ae77464d7c9e71bc04560.zip
Merge from origin/emacs-27
1bcac29b2f (origin/emacs-27) dns-mode-soa-auto-increment-serial: safe... abf0f8666d * lisp/wdired.el: Clean out isearch-filter-predicate (bug#... c31c31e57f ; Spelling and URL fixes 066aad7b9d Finish the documentation for c-noise-macro-{,with-parens-}... c8fcabf245 Correct regexp for flags in `format' doc string 2e9a153b26 Moderate recommendation to escape '(' in doc strings d7cd4ab7d9 Objective C Mode: Make c-forward-type work with "unsigned ... 1705e32ebc Fix help text about configure module support baca81e641 * doc/lispref/streams.texi (Output Functions): Improve ind... 568a560fce Improve doc string of 'newline' 7f50698505 Improve doc of eq on bignums etc. e5327a569c Do not refer to obsolete alias fd09196781 ; Clarify what time-stamp-active enables # Conflicts: # etc/NEWS
-rw-r--r--configure.ac2
-rw-r--r--doc/lispref/numbers.texi4
-rw-r--r--doc/lispref/objects.texi32
-rw-r--r--doc/lispref/streams.texi1
-rw-r--r--doc/lispref/tips.texi27
-rw-r--r--doc/misc/cc-mode.texi22
-rw-r--r--etc/NEWS.274
-rw-r--r--lisp/cedet/mode-local.el2
-rw-r--r--lisp/erc/erc-pcomplete.el2
-rw-r--r--lisp/progmodes/cc-langs.el5
-rw-r--r--lisp/progmodes/cc-vars.el15
-rw-r--r--lisp/simple.el7
-rw-r--r--lisp/textmodes/dns-mode.el1
-rw-r--r--lisp/time-stamp.el23
-rw-r--r--lisp/wdired.el2
-rw-r--r--src/callproc.c2
-rw-r--r--src/editfns.c2
17 files changed, 91 insertions, 62 deletions
diff --git a/configure.ac b/configure.ac
index 27e44dacfb2..f604acb694e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -461,7 +461,7 @@ OPTION_DEFAULT_ON([gsettings],[don't compile with GSettings support])
461OPTION_DEFAULT_ON([selinux],[don't compile with SELinux support]) 461OPTION_DEFAULT_ON([selinux],[don't compile with SELinux support])
462OPTION_DEFAULT_ON([gnutls],[don't use -lgnutls for SSL/TLS support]) 462OPTION_DEFAULT_ON([gnutls],[don't use -lgnutls for SSL/TLS support])
463OPTION_DEFAULT_ON([zlib],[don't compile with zlib decompression support]) 463OPTION_DEFAULT_ON([zlib],[don't compile with zlib decompression support])
464OPTION_DEFAULT_ON([modules],[compile with dynamic modules support]) 464OPTION_DEFAULT_ON([modules],[don't compile with dynamic modules support])
465OPTION_DEFAULT_ON([threads],[don't compile with elisp threading support]) 465OPTION_DEFAULT_ON([threads],[don't compile with elisp threading support])
466 466
467AC_ARG_WITH([file-notification],[AS_HELP_STRING([--with-file-notification=LIB], 467AC_ARG_WITH([file-notification],[AS_HELP_STRING([--with-file-notification=LIB],
diff --git a/doc/lispref/numbers.texi b/doc/lispref/numbers.texi
index e952980f26f..c8941eab736 100644
--- a/doc/lispref/numbers.texi
+++ b/doc/lispref/numbers.texi
@@ -39,8 +39,8 @@ numbers have a fixed amount of precision.
39 Under the hood, though, there are two kinds of integers: smaller 39 Under the hood, though, there are two kinds of integers: smaller
40ones, called @dfn{fixnums}, and larger ones, called @dfn{bignums}. 40ones, called @dfn{fixnums}, and larger ones, called @dfn{bignums}.
41Some functions in Emacs accept only fixnums. Also, while fixnums can 41Some functions in Emacs accept only fixnums. Also, while fixnums can
42always be compared for numeric equality with @code{eq}, bignums 42be compared for numeric equality with @code{eq}, bignums require
43require more-heavyweight equality predicates like @code{eql}. 43more-heavyweight equality predicates like @code{eql} and @code{=}.
44 44
45 The range of values for bignums is limited by the amount of main 45 The range of values for bignums is limited by the amount of main
46memory, by machine characteristics such as the size of the word used 46memory, by machine characteristics such as the size of the word used
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index 4242223a48e..855dff2130a 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -266,8 +266,8 @@ but many machines provide a wider range.
266 Bignums can have arbitrary precision. Operations that overflow a 266 Bignums can have arbitrary precision. Operations that overflow a
267fixnum will return a bignum instead. 267fixnum will return a bignum instead.
268 268
269 Fixnums can be compared with @code{eq}, but bignums require 269 All numbers can be compared with @code{eql} or @code{=}; fixnums can
270@code{eql} or @code{=}. To test whether an integer is a fixnum or a 270also be compared with @code{eq}. To test whether an integer is a fixnum or a
271bignum, you can compare it to @code{most-negative-fixnum} and 271bignum, you can compare it to @code{most-negative-fixnum} and
272@code{most-positive-fixnum}, or you can use the convenience predicates 272@code{most-positive-fixnum}, or you can use the convenience predicates
273@code{fixnump} and @code{bignump} on any object. 273@code{fixnump} and @code{bignump} on any object.
@@ -2167,17 +2167,20 @@ appropriate chapter describing the data type.
2167This function returns @code{t} if @var{object1} and @var{object2} are 2167This function returns @code{t} if @var{object1} and @var{object2} are
2168the same object, and @code{nil} otherwise. 2168the same object, and @code{nil} otherwise.
2169 2169
2170If @var{object1} and @var{object2} are fixnums with the same value, 2170If @var{object1} and @var{object2} are symbols with the
2171they are considered to be the same object (i.e., @code{eq} returns
2172@code{t}). If @var{object1} and @var{object2} are symbols with the
2173same name, they are normally the same object---but see @ref{Creating 2171same name, they are normally the same object---but see @ref{Creating
2174Symbols} for exceptions. For other types (e.g., lists, vectors, 2172Symbols} for exceptions. For other non-numeric types (e.g., lists, vectors,
2175strings), two arguments with the same contents or elements are not 2173strings), two arguments with the same contents or elements are not
2176necessarily @code{eq} to each other: they are @code{eq} only if they 2174necessarily @code{eq} to each other: they are @code{eq} only if they
2177are the same object, meaning that a change in the contents of one will 2175are the same object, meaning that a change in the contents of one will
2178be reflected by the same change in the contents of the other. 2176be reflected by the same change in the contents of the other.
2179For other types of objects whose contents cannot be changed (e.g., 2177
2180bignums and floats), two arguments with the same contents might or might not be 2178If @var{object1} and @var{object2} are numbers with differing types or values,
2179then they cannot be the same object and @code{eq} returns @code{nil}.
2180If they are fixnums with the same value,
2181then they are the same object and @code{eq} returns @code{t}.
2182If they were computed separately but happen to have the same value
2183and the same non-fixnum numeric type, then they might or might not be
2181the same object, and @code{eq} returns @code{t} or @code{nil} 2184the same object, and @code{eq} returns @code{t} or @code{nil}
2182depending on whether the Lisp interpreter created one object or two. 2185depending on whether the Lisp interpreter created one object or two.
2183 2186
@@ -2188,26 +2191,25 @@ depending on whether the Lisp interpreter created one object or two.
2188@end group 2191@end group
2189 2192
2190@group 2193@group
2191(eq 456 456) 2194(eq ?A ?A)
2192 @result{} t 2195 @result{} t
2193@end group 2196@end group
2194 2197
2195@group 2198@group
2196(eq 3.0 3.0) 2199(eq 3.0 3.0)
2197 @result{} t @r{or} nil 2200 @result{} t @r{or} nil
2198;; @r{The result is implementation-dependent.} 2201;; @r{Equal floats may or may not be the same object.}
2199@end group 2202@end group
2200 2203
2201@group 2204@group
2202(eq "asdf" "asdf") 2205(eq (make-string 3 ?A) (make-string 3 ?A))
2203 @result{} nil 2206 @result{} nil
2204@end group 2207@end group
2205 2208
2206@group 2209@group
2207(eq "" "") 2210(eq "asdf" "asdf")
2208 @result{} t 2211 @result{} t @r{or} nil
2209;; @r{This exception occurs because Emacs Lisp} 2212;; @r{Equal string constants or may not be the same object.}
2210;; @r{makes just one multibyte empty string, to save space.}
2211@end group 2213@end group
2212 2214
2213@group 2215@group
diff --git a/doc/lispref/streams.texi b/doc/lispref/streams.texi
index 6d0b4b08083..d40ec8db105 100644
--- a/doc/lispref/streams.texi
+++ b/doc/lispref/streams.texi
@@ -716,6 +716,7 @@ For example, if the current buffer name is @samp{foo},
716returns @code{"The buffer is foo"}. 716returns @code{"The buffer is foo"}.
717@end defmac 717@end defmac
718 718
719@cindex pretty-printer
719@defun pp object &optional stream 720@defun pp object &optional stream
720This function outputs @var{object} to @var{stream}, just like 721This function outputs @var{object} to @var{stream}, just like
721@code{prin1}, but does it in a prettier way. That is, it'll 722@code{prin1}, but does it in a prettier way. That is, it'll
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi
index 4395069fe24..0610f8029df 100644
--- a/doc/lispref/tips.texi
+++ b/doc/lispref/tips.texi
@@ -803,18 +803,6 @@ starting the sentence with lower-case ``t'', which could be somewhat
803distracting. 803distracting.
804 804
805@item 805@item
806If a line in a documentation string begins with an open-parenthesis,
807write a backslash before the open-parenthesis, like this:
808
809@example
810The argument FOO can be either a number
811\(a buffer position) or a string (a file name).
812@end example
813
814This prevents the open-parenthesis from being treated as the start of a
815defun (@pxref{Defuns,, Defuns, emacs, The GNU Emacs Manual}).
816
817@item
818Write documentation strings in the active voice, not the passive, and in 806Write documentation strings in the active voice, not the passive, and in
819the present tense, not the future. For instance, use ``Return a list 807the present tense, not the future. For instance, use ``Return a list
820containing A and B.@:'' instead of ``A list containing A and B will be 808containing A and B.@:'' instead of ``A list containing A and B will be
@@ -849,6 +837,21 @@ The documentation string for a variable that is a yes-or-no flag should
849start with words such as ``Non-nil means'', to make it clear that 837start with words such as ``Non-nil means'', to make it clear that
850all non-@code{nil} values are equivalent and indicate explicitly what 838all non-@code{nil} values are equivalent and indicate explicitly what
851@code{nil} and non-@code{nil} mean. 839@code{nil} and non-@code{nil} mean.
840
841@item
842If a line in a documentation string begins with an open-parenthesis,
843consider writing a backslash before the open-parenthesis, like this:
844
845@example
846The argument FOO can be either a number
847\(a buffer position) or a string (a file name).
848@end example
849
850This avoids a bug in Emacs versions older than 27.1, where the
851@samp{(} was treated as the start of a defun
852(@pxref{Defuns,, Defuns, emacs, The GNU Emacs Manual}).
853If you do not anticipate anyone editing your code with older Emacs
854versions, there is no need for this work-around.
852@end itemize 855@end itemize
853 856
854@node Comment Tips 857@node Comment Tips
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index 2c49a90c54b..544ff853351 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -7095,22 +7095,24 @@ constitute noise macros.
7095@vindex noise-macro-names @r{(c-)} 7095@vindex noise-macro-names @r{(c-)}
7096This variable is a list of names of noise macros which never have 7096This variable is a list of names of noise macros which never have
7097parenthesized arguments. Each element is a string, and must be a 7097parenthesized arguments. Each element is a string, and must be a
7098valid identifier. An element in @code{c-noise-macro-names} must not 7098valid identifier. Alternatively, the variable may be a regular
7099also be in @code{c-noise-macro-with-parens-names}. Such an element is 7099expression which matches the names of such macros. Such a noise macro
7100treated as whitespace by @ccmode{}. 7100is treated as whitespace by @ccmode{}. It must not also be in, or be
7101matched by @code{c-noise-macro-with-parens-names}.
7101@end defopt 7102@end defopt
7102 7103
7103@defopt c-noise-macro-with-parens-names 7104@defopt c-noise-macro-with-parens-names
7104@vindex noise-macro-with-parens-names @r{(c-)} 7105@vindex noise-macro-with-parens-names @r{(c-)}
7105This variable is a list of names of noise macros which optionally have 7106This variable is a list of names of noise macros which optionally have
7106arguments in parentheses. Each element of the list is a string, and 7107arguments in parentheses. Each element of the list is a string, and
7107must be a valid identifier. An element in 7108must be a valid identifier. Alternatively, the variable may be a
7108@code{c-noise-macro-with-parens-names} must not also be in 7109regular expression which matches the names of such macros. Such a
7109@code{c-noise-macro-names}. For performance reasons, such an element, 7110noise macro must not also be in, or be matched by
7110together with the optional parenthesized arguments, is specially 7111@code{c-noise-macro-names}. For performance reasons, such a noise
7111handled, but it is only handled when used in declaration 7112macro, including any parenthesized arguments, is specially handled,
7112contexts@footnote{If this restriction causes your project 7113but it is only handled when used in declaration contexts@footnote{If
7113difficulties, please get in touch with @email{bug-cc-mode@@gnu.org}.}. 7114this restriction causes your project difficulties, please get in touch
7115with @email{bug-cc-mode@@gnu.org}.}.
7114 7116
7115The two compiler directives @code{__attribute__} and @code{__declspec} 7117The two compiler directives @code{__attribute__} and @code{__declspec}
7116have traditionally been handled specially in @ccmode{}; for example 7118have traditionally been handled specially in @ccmode{}; for example
diff --git a/etc/NEWS.27 b/etc/NEWS.27
index 792851e5af5..433f1f76b80 100644
--- a/etc/NEWS.27
+++ b/etc/NEWS.27
@@ -3338,6 +3338,10 @@ versions.
3338'forward-comment', 'scan-sexps', and 'forward-sexp' when parsing backward. 3338'forward-comment', 'scan-sexps', and 'forward-sexp' when parsing backward.
3339The new variable 'comment-use-syntax-ppss' can be set to nil to recover 3339The new variable 'comment-use-syntax-ppss' can be set to nil to recover
3340the old behavior if needed. 3340the old behavior if needed.
3341This also means that there is no longer any need to precede opening
3342brackets at the start of a line inside documentation strings with a
3343backslash, although there is no harm in doing so to make the code
3344easier to edit with an older Emacs version.
3341 3345
3342--- 3346---
3343** The 'server-name' and 'server-socket-dir' variables are set when a 3347** The 'server-name' and 'server-socket-dir' variables are set when a
diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el
index bd02a4f631a..a6e143cfcd6 100644
--- a/lisp/cedet/mode-local.el
+++ b/lisp/cedet/mode-local.el
@@ -588,7 +588,7 @@ OVERARGS is a list of arguments passed to the override and
588(defmacro define-mode-local-override 588(defmacro define-mode-local-override
589 (name mode args docstring &rest body) 589 (name mode args docstring &rest body)
590 "Define a mode specific override of the function overload NAME. 590 "Define a mode specific override of the function overload NAME.
591Has meaning only if NAME has been created with `define-overload'. 591Has meaning only if NAME has been created with `define-overloadable-function'.
592MODE is the major mode this override is being defined for. 592MODE is the major mode this override is being defined for.
593ARGS are the function arguments, which should match those of the same 593ARGS are the function arguments, which should match those of the same
594named function created with `define-overload'. 594named function created with `define-overload'.
diff --git a/lisp/erc/erc-pcomplete.el b/lisp/erc/erc-pcomplete.el
index 457fd07ecc8..65b0f660275 100644
--- a/lisp/erc/erc-pcomplete.el
+++ b/lisp/erc/erc-pcomplete.el
@@ -5,7 +5,7 @@
5;; Author: Sacha Chua <sacha@free.net.ph> 5;; Author: Sacha Chua <sacha@free.net.ph>
6;; Maintainer: Amin Bandali <mab@gnu.org> 6;; Maintainer: Amin Bandali <mab@gnu.org>
7;; Keywords: comm, convenience 7;; Keywords: comm, convenience
8;; URL: http://wwws.emacswiki.org/emacs/ErcCompletion 8;; URL: https://www.emacswiki.org/emacs/ErcCompletion
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index b50e7e7f098..715af32d7ea 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -2055,11 +2055,10 @@ the appropriate place for that."
2055 "Keywords that might act as prefixes for primitive types. Assumed to 2055 "Keywords that might act as prefixes for primitive types. Assumed to
2056be a subset of `c-primitive-type-kwds'." 2056be a subset of `c-primitive-type-kwds'."
2057 t nil 2057 t nil
2058 (c c++) '("long" "short" "signed" "unsigned") 2058 (c c++ objc) '("long" "short" "signed" "unsigned")
2059 idl '("long" "unsigned" 2059 idl '("long" "unsigned"
2060 ;; In CORBA PSDL: 2060 ;; In CORBA PSDL:
2061 "strong")) 2061 "strong"))
2062
2063(c-lang-defconst c-typedef-kwds 2062(c-lang-defconst c-typedef-kwds
2064 "Prefix keyword(s) like \"typedef\" which make a type declaration out 2063 "Prefix keyword(s) like \"typedef\" which make a type declaration out
2065of a variable declaration." 2064of a variable declaration."
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el
index 861872486c7..556ff6059f1 100644
--- a/lisp/progmodes/cc-vars.el
+++ b/lisp/progmodes/cc-vars.el
@@ -1657,9 +1657,10 @@ white space either before or after the operator, but not both."
1657 1657
1658(defcustom c-noise-macro-names nil 1658(defcustom c-noise-macro-names nil
1659 "A list of names of macros which expand to nothing, or compiler extensions 1659 "A list of names of macros which expand to nothing, or compiler extensions
1660like \"????\" which are syntactic noise. Such a macro/extension is complete in 1660like \"INLINE\" which are syntactic noise. Such a macro/extension is complete
1661itself, never having parentheses. All these names must be syntactically valid 1661in itself, never having parentheses. All these names must be syntactically
1662identifiers. 1662valid identifiers. Alternatively, this variable may be a regular expression
1663which matches the names of such macros.
1663 1664
1664If you change this variable's value, call the function 1665If you change this variable's value, call the function
1665`c-make-noise-macro-regexps' to set the necessary internal variables (or do 1666`c-make-noise-macro-regexps' to set the necessary internal variables (or do
@@ -1673,7 +1674,13 @@ this implicitly by reinitializing C/C++/Objc Mode on any buffer)."
1673(defcustom c-noise-macro-with-parens-names nil 1674(defcustom c-noise-macro-with-parens-names nil
1674 "A list of names of macros (or compiler extensions like \"__attribute__\") 1675 "A list of names of macros (or compiler extensions like \"__attribute__\")
1675which optionally have arguments in parentheses, and which expand to nothing. 1676which optionally have arguments in parentheses, and which expand to nothing.
1676These are recognized by CC Mode only in declarations." 1677All these names must be syntactically valid identifiers. These are recognized
1678by CC Mode only in declarations. Alternatively, this variable may be a
1679regular expression which matches the names of such macros.
1680
1681If you change this variable's value, call the function
1682`c-make-noise-macro-regexps' to set the necessary internal variables (or do
1683this implicitly by reinitializing C/C++/Objc Mode on any buffer)."
1677 :version "26.1" 1684 :version "26.1"
1678 :type '(repeat :tag "List of names (possibly empty)" string) 1685 :type '(repeat :tag "List of names (possibly empty)" string)
1679 :group 'c) 1686 :group 'c)
diff --git a/lisp/simple.el b/lisp/simple.el
index 8be27745b1c..2ec3da680f8 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -503,9 +503,7 @@ This hook is run by `delete-selection-uses-region-p', which see.")
503 503
504(defun newline (&optional arg interactive) 504(defun newline (&optional arg interactive)
505 "Insert a newline, and move to left margin of the new line if it's blank. 505 "Insert a newline, and move to left margin of the new line if it's blank.
506If option `use-hard-newlines' is non-nil, the newline is marked with the 506With prefix argument ARG, insert that many newlines.
507text-property `hard'.
508With ARG, insert that many newlines.
509 507
510If `electric-indent-mode' is enabled, this indents the final new line 508If `electric-indent-mode' is enabled, this indents the final new line
511that it adds, and reindents the preceding line. To just insert 509that it adds, and reindents the preceding line. To just insert
@@ -514,6 +512,9 @@ a newline, use \\[electric-indent-just-newline].
514If `auto-fill-mode' is enabled, this may cause automatic line 512If `auto-fill-mode' is enabled, this may cause automatic line
515breaking of the preceding line. A non-nil ARG inhibits this. 513breaking of the preceding line. A non-nil ARG inhibits this.
516 514
515If `use-hard-newlines' is enabled, the newline is marked with the
516text-property `hard'.
517
517A non-nil INTERACTIVE argument means to run the `post-self-insert-hook'." 518A non-nil INTERACTIVE argument means to run the `post-self-insert-hook'."
518 (interactive "*P\np") 519 (interactive "*P\np")
519 (barf-if-buffer-read-only) 520 (barf-if-buffer-read-only)
diff --git a/lisp/textmodes/dns-mode.el b/lisp/textmodes/dns-mode.el
index 3bdea946105..6dfea8f1887 100644
--- a/lisp/textmodes/dns-mode.el
+++ b/lisp/textmodes/dns-mode.el
@@ -134,6 +134,7 @@ manually with \\[dns-mode-soa-increment-serial]."
134 :type '(choice (const :tag "Always" t) 134 :type '(choice (const :tag "Always" t)
135 (const :tag "Ask" ask) 135 (const :tag "Ask" ask)
136 (const :tag "Never" nil)) 136 (const :tag "Never" nil))
137 :safe 'symbolp
137 :group 'dns-mode) 138 :group 'dns-mode)
138 139
139;; Syntax table. 140;; Syntax table.
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index a09294d9cf6..7c64f2903be 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -94,6 +94,13 @@ edited by older versions of Emacs also, do not use this format yet."
94(defcustom time-stamp-active t 94(defcustom time-stamp-active t
95 "Non-nil to enable time-stamping of buffers by \\[time-stamp]. 95 "Non-nil to enable time-stamping of buffers by \\[time-stamp].
96Can be toggled by \\[time-stamp-toggle-active]. 96Can be toggled by \\[time-stamp-toggle-active].
97
98This option does not affect when `time-stamp' is run, only what it
99does when it runs. To activate automatic time-stamping of buffers
100when they are saved, either add this line to your init file:
101 (add-hook \\='before-save-hook \\='time-stamp)
102or customize option `before-save-hook'.
103
97See also the variable `time-stamp-warn-inactive'." 104See also the variable `time-stamp-warn-inactive'."
98 :type 'boolean 105 :type 'boolean
99 :group 'time-stamp) 106 :group 'time-stamp)
@@ -269,7 +276,7 @@ time-stamped file itself.")
269A template in a file can be automatically updated with a new time stamp 276A template in a file can be automatically updated with a new time stamp
270every time you save the file. Add this line to your init file: 277every time you save the file. Add this line to your init file:
271 (add-hook \\='before-save-hook \\='time-stamp) 278 (add-hook \\='before-save-hook \\='time-stamp)
272or customize `before-save-hook' through Custom. 279or customize option `before-save-hook'.
273Normally the template must appear in the first 8 lines of a file and 280Normally the template must appear in the first 8 lines of a file and
274look like one of the following: 281look like one of the following:
275 Time-stamp: <> 282 Time-stamp: <>
@@ -606,24 +613,24 @@ and all `time-stamp-format' compatibility."
606 ((eq cur-char ?F) ;buffer-file-name, full path 613 ((eq cur-char ?F) ;buffer-file-name, full path
607 (or buffer-file-name 614 (or buffer-file-name
608 time-stamp-no-file)) 615 time-stamp-no-file))
609 ((eq cur-char ?s) ;system name 616 ((eq cur-char ?s) ;system name, legacy
610 (system-name)) 617 (system-name))
611 ((eq cur-char ?u) ;user name 618 ((eq cur-char ?u) ;user name, legacy
612 (user-login-name)) 619 (user-login-name))
613 ((eq cur-char ?U) ;user full name 620 ((eq cur-char ?U) ;user full name, legacy
614 (user-full-name)) 621 (user-full-name))
615 ((eq cur-char ?l) ;logname (undocumented user name alt) 622 ((eq cur-char ?l) ;login name
616 (user-login-name)) 623 (user-login-name))
617 ((eq cur-char ?L) ;(undocumented alt user full name) 624 ((eq cur-char ?L) ;full name of logged-in user
618 (user-full-name)) 625 (user-full-name))
619 ((eq cur-char ?h) ;mail host name 626 ((eq cur-char ?h) ;mail host name
620 (or mail-host-address (system-name))) 627 (or mail-host-address (system-name)))
621 ((eq cur-char ?q) ;(undocumented unqual hostname) 628 ((eq cur-char ?q) ;unqualified host name
622 (let ((qualname (system-name))) 629 (let ((qualname (system-name)))
623 (if (string-match "\\." qualname) 630 (if (string-match "\\." qualname)
624 (substring qualname 0 (match-beginning 0)) 631 (substring qualname 0 (match-beginning 0))
625 qualname))) 632 qualname)))
626 ((eq cur-char ?Q) ;(undocumented fully-qualified host) 633 ((eq cur-char ?Q) ;fully-qualified host name
627 (system-name)) 634 (system-name))
628 )) 635 ))
629 (and (numberp field-result) 636 (and (numberp field-result)
diff --git a/lisp/wdired.el b/lisp/wdired.el
index d470e0a21b0..d91853e64dd 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -357,6 +357,8 @@ non-nil means return old filename."
357 (remove-text-properties 357 (remove-text-properties
358 (point-min) (point-max) 358 (point-min) (point-max)
359 '(front-sticky nil rear-nonsticky nil read-only nil keymap nil))) 359 '(front-sticky nil rear-nonsticky nil read-only nil keymap nil)))
360 (remove-function (local 'isearch-filter-predicate)
361 #'wdired-isearch-filter-read-only)
360 (use-local-map dired-mode-map) 362 (use-local-map dired-mode-map)
361 (force-mode-line-update) 363 (force-mode-line-update)
362 (setq buffer-read-only t) 364 (setq buffer-read-only t)
diff --git a/src/callproc.c b/src/callproc.c
index 6bd4ae22f63..07dcc4c3ae4 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -794,7 +794,7 @@ call_process (ptrdiff_t nargs, Lisp_Object *args, int filefd,
794 signal_after_change hasn't. A continue statement 794 signal_after_change hasn't. A continue statement
795 restarts the enclosing while (1) loop. A second, 795 restarts the enclosing while (1) loop. A second,
796 unwanted, call to `prepare_to_modify_buffer' is inhibited 796 unwanted, call to `prepare_to_modify_buffer' is inhibited
797 by the test perpared_pos < PT. The data are inserted 797 by the test prepared_pos < PT. The data are inserted
798 again, and this time signal_after_change gets called, 798 again, and this time signal_after_change gets called,
799 balancing the previous call to prepare_to_modify_buffer. */ 799 balancing the previous call to prepare_to_modify_buffer. */
800 if ((prepared_pos < PT) && nread) 800 if ((prepared_pos < PT) && nread)
diff --git a/src/editfns.c b/src/editfns.c
index 4e35784e554..3f1b3aa4b75 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3031,7 +3031,7 @@ width, and precision specifiers, as follows:
3031 %<field><flags><width><precision>character 3031 %<field><flags><width><precision>character
3032 3032
3033where field is [0-9]+ followed by a literal dollar "$", flags is 3033where field is [0-9]+ followed by a literal dollar "$", flags is
3034[+ #-0]+, width is [0-9]+, and precision is a literal period "." 3034[+ #0-]+, width is [0-9]+, and precision is a literal period "."
3035followed by [0-9]+. 3035followed by [0-9]+.
3036 3036
3037If a %-sequence is numbered with a field with positive value N, the 3037If a %-sequence is numbered with a field with positive value N, the