diff options
| author | Glenn Morris | 2020-02-13 07:50:24 -0800 |
|---|---|---|
| committer | Glenn Morris | 2020-02-13 07:50:24 -0800 |
| commit | 56ce263f506fede328888a321a12b1f85f46d0d5 (patch) | |
| tree | 1d881d6ca6c46b62cffaa93e25ff4b88f3bcc2c7 | |
| parent | 5b160b39c43b7e3d4e377832c306e2e48b53e7e1 (diff) | |
| parent | ad5e350ab764f3a420d29f24ab3222f671b2e8c0 (diff) | |
| download | emacs-56ce263f506fede328888a321a12b1f85f46d0d5.tar.gz emacs-56ce263f506fede328888a321a12b1f85f46d0d5.zip | |
Merge from origin/emacs-27
ad5e350ab7 c-end-of-macro: Handle block coment lines with unescaped N...
06c302d425 Fix set-fontset-font with ADD arg non-nil
530067463b Correct "different than" to "different from" where appropr...
56b8768b32 More accurate documentation of 'package-menu-hide-package'
| -rw-r--r-- | doc/emacs/package.texi | 7 | ||||
| -rw-r--r-- | doc/emacs/screen.texi | 2 | ||||
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 2 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 4 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 2 | ||||
| -rw-r--r-- | doc/misc/sc.texi | 4 | ||||
| -rw-r--r-- | lisp/align.el | 2 | ||||
| -rw-r--r-- | lisp/allout-widgets.el | 2 | ||||
| -rw-r--r-- | lisp/allout.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/gv.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 7 | ||||
| -rw-r--r-- | lisp/font-lock.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/mm-util.el | 2 | ||||
| -rw-r--r-- | lisp/mail/feedmail.el | 2 | ||||
| -rw-r--r-- | lisp/mail/sendmail.el | 2 | ||||
| -rw-r--r-- | lisp/mail/supercite.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-attach.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 17 | ||||
| -rw-r--r-- | lisp/progmodes/cc-langs.el | 21 | ||||
| -rw-r--r-- | lisp/progmodes/idlw-shell.el | 2 | ||||
| -rw-r--r-- | lisp/ps-print.el | 6 | ||||
| -rw-r--r-- | lisp/simple.el | 2 | ||||
| -rw-r--r-- | src/cmds.c | 4 | ||||
| -rw-r--r-- | src/editfns.c | 4 | ||||
| -rw-r--r-- | src/fontset.c | 2 | ||||
| -rw-r--r-- | src/frame.h | 2 | ||||
| -rw-r--r-- | src/regex-emacs.c | 2 | ||||
| -rw-r--r-- | src/xfaces.c | 10 |
28 files changed, 73 insertions, 49 deletions
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi index 360fc980e4a..db3cf317ff1 100644 --- a/doc/emacs/package.texi +++ b/doc/emacs/package.texi | |||
| @@ -154,8 +154,11 @@ redisplays the package list. | |||
| 154 | @item H | 154 | @item H |
| 155 | @kindex H @r{(Package Menu)} | 155 | @kindex H @r{(Package Menu)} |
| 156 | @findex package-menu-hide-package | 156 | @findex package-menu-hide-package |
| 157 | Permanently hide packages that match a regexp | 157 | Hide packages whose names match a regexp |
| 158 | (@code{package-menu-hide-package}). | 158 | (@code{package-menu-hide-package}). This prompts for a regexp, and |
| 159 | then hides the packages with matching names. The default value of the | ||
| 160 | regexp will hide only the package whose name is at point, so just | ||
| 161 | pressing @key{RET} to the prompt will hide the current package. | ||
| 159 | 162 | ||
| 160 | @item ( | 163 | @item ( |
| 161 | @kindex ( @r{(Package Menu)} | 164 | @kindex ( @r{(Package Menu)} |
diff --git a/doc/emacs/screen.texi b/doc/emacs/screen.texi index 773bb939441..5c5a5da5511 100644 --- a/doc/emacs/screen.texi +++ b/doc/emacs/screen.texi | |||
| @@ -167,7 +167,7 @@ what is going on in the current buffer. When there is only one | |||
| 167 | window, the mode line appears right above the echo area; it is the | 167 | window, the mode line appears right above the echo area; it is the |
| 168 | next-to-last line in the frame. On a graphical display, the mode line | 168 | next-to-last line in the frame. On a graphical display, the mode line |
| 169 | is drawn with a 3D box appearance. Emacs also usually draws the mode | 169 | is drawn with a 3D box appearance. Emacs also usually draws the mode |
| 170 | line of the selected window with a different color than that of | 170 | line of the selected window with a different color from that of |
| 171 | unselected windows, in order to make it stand out. | 171 | unselected windows, in order to make it stand out. |
| 172 | 172 | ||
| 173 | The text displayed in the mode line has the following format: | 173 | The text displayed in the mode line has the following format: |
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index a6f4b6829f1..9834952566f 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi | |||
| @@ -12919,7 +12919,7 @@ familiar part of this function. | |||
| 12919 | @unnumberedsubsec The @code{let*} expression | 12919 | @unnumberedsubsec The @code{let*} expression |
| 12920 | 12920 | ||
| 12921 | The next line of the @code{forward-paragraph} function begins a | 12921 | The next line of the @code{forward-paragraph} function begins a |
| 12922 | @code{let*} expression. This is a different than @code{let}. The | 12922 | @code{let*} expression. This is different from @code{let}. The |
| 12923 | symbol is @code{let*} not @code{let}. | 12923 | symbol is @code{let*} not @code{let}. |
| 12924 | 12924 | ||
| 12925 | @findex let* | 12925 | @findex let* |
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index a31f232089b..1dab29b8a5a 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -27155,7 +27155,7 @@ anywhere in the formula. | |||
| 27155 | It is possible for a rule set to get into an infinite loop. The | 27155 | It is possible for a rule set to get into an infinite loop. The |
| 27156 | most obvious case, replacing a formula with itself, is not a problem | 27156 | most obvious case, replacing a formula with itself, is not a problem |
| 27157 | because a rule is not considered to ``succeed'' unless the righthand | 27157 | because a rule is not considered to ``succeed'' unless the righthand |
| 27158 | side actually comes out to something different than the original | 27158 | side actually comes out to something different from the original |
| 27159 | formula or sub-formula that was matched. But if you accidentally | 27159 | formula or sub-formula that was matched. But if you accidentally |
| 27160 | had both @samp{ln(a b) := ln(a) + ln(b)} and the reverse | 27160 | had both @samp{ln(a b) := ln(a) + ln(b)} and the reverse |
| 27161 | @samp{ln(a) + ln(b) := ln(a b)} in your rule set, Calc would | 27161 | @samp{ln(a) + ln(b) := ln(a b)} in your rule set, Calc would |
| @@ -28075,7 +28075,7 @@ for angstroms. | |||
| 28075 | 28075 | ||
| 28076 | The unit @code{pt} stands for pints; the name @code{point} stands for | 28076 | The unit @code{pt} stands for pints; the name @code{point} stands for |
| 28077 | a typographical point, defined by @samp{72 point = 1 in}. This is | 28077 | a typographical point, defined by @samp{72 point = 1 in}. This is |
| 28078 | slightly different than the point defined by the American Typefounder's | 28078 | slightly different from the point defined by the American Typefounder's |
| 28079 | Association in 1886, but the point used by Calc has become standard | 28079 | Association in 1886, but the point used by Calc has become standard |
| 28080 | largely due to its use by the PostScript page description language. | 28080 | largely due to its use by the PostScript page description language. |
| 28081 | There is also @code{texpt}, which stands for a printer's point as | 28081 | There is also @code{texpt}, which stands for a printer's point as |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 2545d21863a..b5eb81b787e 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -27658,7 +27658,7 @@ added. A plethora of new commands and modes have been added. | |||
| 27658 | @xref{Gnus Unplugged}, for the full story. | 27658 | @xref{Gnus Unplugged}, for the full story. |
| 27659 | 27659 | ||
| 27660 | @item | 27660 | @item |
| 27661 | The @code{nndraft} back end has returned, but works differently than | 27661 | The @code{nndraft} back end has returned, but works differently from |
| 27662 | before. All Message buffers are now also articles in the @code{nndraft} | 27662 | before. All Message buffers are now also articles in the @code{nndraft} |
| 27663 | group, which is created automatically. | 27663 | group, which is created automatically. |
| 27664 | 27664 | ||
diff --git a/doc/misc/sc.texi b/doc/misc/sc.texi index abde85c790b..ccf5b9efb05 100644 --- a/doc/misc/sc.texi +++ b/doc/misc/sc.texi | |||
| @@ -1033,7 +1033,7 @@ that will be used to composed a non-nested citation string. Supercite | |||
| 1033 | scans the various mail headers present in the original article and uses | 1033 | scans the various mail headers present in the original article and uses |
| 1034 | a number of heuristics to extract strings which it puts into the | 1034 | a number of heuristics to extract strings which it puts into the |
| 1035 | @dfn{attribution association list} or @dfn{attribution alist}. This is | 1035 | @dfn{attribution association list} or @dfn{attribution alist}. This is |
| 1036 | analogous, but different than, the info alist previously mentioned. Each | 1036 | analogous, but different from, the info alist previously mentioned. Each |
| 1037 | element in the attribution alist is a key-value pair containing such | 1037 | element in the attribution alist is a key-value pair containing such |
| 1038 | information as the author's first name, middle names, and last name, the | 1038 | information as the author's first name, middle names, and last name, the |
| 1039 | author's initials, and the author's email terminus. | 1039 | author's initials, and the author's email terminus. |
| @@ -1330,7 +1330,7 @@ co-worker that uses an uncommon citation style (say one that employs a | |||
| 1330 | possible for Supercite to recognize this and @emph{coerce} the citation | 1330 | possible for Supercite to recognize this and @emph{coerce} the citation |
| 1331 | to your preferred style, for consistency. In theory, it is possible for | 1331 | to your preferred style, for consistency. In theory, it is possible for |
| 1332 | Supercite to recognize such things as uuencoded messages or C code and | 1332 | Supercite to recognize such things as uuencoded messages or C code and |
| 1333 | cite or fill those differently than normal text. None of this is | 1333 | cite or fill those differently from normal text. None of this is |
| 1334 | currently part of Supercite, but contributions are welcome! | 1334 | currently part of Supercite, but contributions are welcome! |
| 1335 | 1335 | ||
| 1336 | @node Using Regi | 1336 | @node Using Regi |
diff --git a/lisp/align.el b/lisp/align.el index f16cb84adbf..61387b23dc7 100644 --- a/lisp/align.el +++ b/lisp/align.el | |||
| @@ -261,7 +261,7 @@ The possible settings for `align-region-separate' are: | |||
| 261 | `group' Each contiguous set of lines where a specific alignment | 261 | `group' Each contiguous set of lines where a specific alignment |
| 262 | occurs is considered a section for that alignment rule. | 262 | occurs is considered a section for that alignment rule. |
| 263 | Note that each rule may have any entirely different set | 263 | Note that each rule may have any entirely different set |
| 264 | of section divisions than another. | 264 | of section divisions from another. |
| 265 | 265 | ||
| 266 | int alpha = 1; /* one */ | 266 | int alpha = 1; /* one */ |
| 267 | double beta = 2.0; | 267 | double beta = 2.0; |
diff --git a/lisp/allout-widgets.el b/lisp/allout-widgets.el index fecaf2052ea..fbdddca7d76 100644 --- a/lisp/allout-widgets.el +++ b/lisp/allout-widgets.el | |||
| @@ -1847,7 +1847,7 @@ Optional HAS-SUCCESSOR is true if the item is followed by a sibling. | |||
| 1847 | We also hide the header-prefix string. | 1847 | We also hide the header-prefix string. |
| 1848 | 1848 | ||
| 1849 | Guides are established according to the item-widget's :guide-column-flags, | 1849 | Guides are established according to the item-widget's :guide-column-flags, |
| 1850 | when different than :was-guide-column-flags. Changing that property and | 1850 | when different from :was-guide-column-flags. Changing that property and |
| 1851 | reapplying this method will rectify the glyphs." | 1851 | reapplying this method will rectify the glyphs." |
| 1852 | 1852 | ||
| 1853 | (when (not (widget-get item-widget :is-container)) | 1853 | (when (not (widget-get item-widget :is-container)) |
diff --git a/lisp/allout.el b/lisp/allout.el index 408a2a9a0cc..dedad45f827 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -5926,7 +5926,7 @@ See `allout-toggle-current-subtree-encryption' for more details." | |||
| 5926 | (setq buffer-file-coding-system | 5926 | (setq buffer-file-coding-system |
| 5927 | (select-safe-coding-system subtree-beg subtree-end)) | 5927 | (select-safe-coding-system subtree-beg subtree-end)) |
| 5928 | ;; if the coding system for the text being encrypted is different | 5928 | ;; if the coding system for the text being encrypted is different |
| 5929 | ;; than that prevailing, then there a real risk that the coding | 5929 | ;; from that prevailing, then there a real risk that the coding |
| 5930 | ;; system can't be noticed by emacs when the file is visited. to | 5930 | ;; system can't be noticed by emacs when the file is visited. to |
| 5931 | ;; mitigate that, offer to preserve the coding system using a file | 5931 | ;; mitigate that, offer to preserve the coding system using a file |
| 5932 | ;; local variable. | 5932 | ;; local variable. |
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el index 92241a7d566..b43e53b9d27 100644 --- a/lisp/emacs-lisp/gv.el +++ b/lisp/emacs-lisp/gv.el | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; This is a re-implementation of the setf machinery using a different | 26 | ;; This is a re-implementation of the setf machinery using a different |
| 27 | ;; underlying approach than the one used earlier in CL, which was based on | 27 | ;; underlying approach from the one used earlier in CL, which was based on |
| 28 | ;; define-setf-expander. | 28 | ;; define-setf-expander. |
| 29 | ;; `define-setf-expander' makes every "place-expander" return a 5-tuple | 29 | ;; `define-setf-expander' makes every "place-expander" return a 5-tuple |
| 30 | ;; (VARS VALUES STORES GETTER SETTER) | 30 | ;; (VARS VALUES STORES GETTER SETTER) |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index f14ef7919ea..c4f751871b6 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -2724,7 +2724,7 @@ either a full name or nil, and EMAIL is a valid email address." | |||
| 2724 | ["Filter by Version" package-menu-filter-by-version :help "Filter packages by version"] | 2724 | ["Filter by Version" package-menu-filter-by-version :help "Filter packages by version"] |
| 2725 | ["Clear Filter" package-menu-clear-filter :help "Clear package list filter"]) | 2725 | ["Clear Filter" package-menu-clear-filter :help "Clear package list filter"]) |
| 2726 | 2726 | ||
| 2727 | ["Hide by Regexp" package-menu-hide-package :help "Permanently hide all packages matching a regexp"] | 2727 | ["Hide by Regexp" package-menu-hide-package :help "Hide all packages matching a regexp"] |
| 2728 | ["Display Older Versions" package-menu-toggle-hiding | 2728 | ["Display Older Versions" package-menu-toggle-hiding |
| 2729 | :style toggle :selected (not package-menu--hide-packages) | 2729 | :style toggle :selected (not package-menu--hide-packages) |
| 2730 | :help "Display package even if a newer version is already installed"] | 2730 | :help "Display package even if a newer version is already installed"] |
| @@ -3189,8 +3189,9 @@ function. The args ARG and NOCONFIRM, passed from | |||
| 3189 | (define-obsolete-function-alias 'package-menu-refresh 'revert-buffer "27.1") | 3189 | (define-obsolete-function-alias 'package-menu-refresh 'revert-buffer "27.1") |
| 3190 | 3190 | ||
| 3191 | (defun package-menu-hide-package () | 3191 | (defun package-menu-hide-package () |
| 3192 | "Hide a package under point in Package Menu. | 3192 | "Hide in Package Menu packages that match a regexp. |
| 3193 | If optional arg BUTTON is non-nil, describe its associated package." | 3193 | Prompts for the regexp to match against package names. |
| 3194 | The default regexp will hide only the package whose name is at point." | ||
| 3194 | (interactive) | 3195 | (interactive) |
| 3195 | (package--ensure-package-menu-mode) | 3196 | (package--ensure-package-menu-mode) |
| 3196 | (declare (interactive-only "change `package-hidden-regexps' instead.")) | 3197 | (declare (interactive-only "change `package-hidden-regexps' instead.")) |
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 77b8e427249..506c888ff64 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -1004,14 +1004,14 @@ The value of this variable is used when Font Lock mode is turned on." | |||
| 1004 | ;; font-lock.el uses its own function for buffer fontification. This function | 1004 | ;; font-lock.el uses its own function for buffer fontification. This function |
| 1005 | ;; makes fontification be on a message-by-message basis and so visiting an | 1005 | ;; makes fontification be on a message-by-message basis and so visiting an |
| 1006 | ;; RMAIL file is much faster. A clever implementation of the function might | 1006 | ;; RMAIL file is much faster. A clever implementation of the function might |
| 1007 | ;; fontify the headers differently than the message body. (It should, and | 1007 | ;; fontify the headers differently from the message body. (It should, and |
| 1008 | ;; correspondingly for Mail mode, but I can't be bothered to do the work. Can | 1008 | ;; correspondingly for Mail mode, but I can't be bothered to do the work. Can |
| 1009 | ;; you?) This hints at a more interesting use... | 1009 | ;; you?) This hints at a more interesting use... |
| 1010 | ;; | 1010 | ;; |
| 1011 | ;; Languages that contain text normally contained in different major modes | 1011 | ;; Languages that contain text normally contained in different major modes |
| 1012 | ;; could define their own fontification functions that treat text differently | 1012 | ;; could define their own fontification functions that treat text differently |
| 1013 | ;; depending on its context. For example, Perl mode could arrange that here | 1013 | ;; depending on its context. For example, Perl mode could arrange that here |
| 1014 | ;; docs are fontified differently than Perl code. Or Yacc mode could fontify | 1014 | ;; docs are fontified differently from Perl code. Or Yacc mode could fontify |
| 1015 | ;; rules one way and C code another. Neat! | 1015 | ;; rules one way and C code another. Neat! |
| 1016 | ;; | 1016 | ;; |
| 1017 | ;; A further reason to use the fontification indirection feature is when the | 1017 | ;; A further reason to use the fontification indirection feature is when the |
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index e863051e56a..7629d5cb151 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el | |||
| @@ -53,7 +53,7 @@ | |||
| 53 | ;; positions! | 53 | ;; positions! |
| 54 | ,@(unless (mm-coding-system-p 'iso-8859-15) | 54 | ,@(unless (mm-coding-system-p 'iso-8859-15) |
| 55 | '((iso-8859-15 . iso-8859-1))) | 55 | '((iso-8859-15 . iso-8859-1))) |
| 56 | ;; BIG-5HKSCS is similar to, but different than, BIG-5. | 56 | ;; BIG-5HKSCS is similar to, but different from, BIG-5. |
| 57 | ,@(unless (mm-coding-system-p 'big5-hkscs) | 57 | ,@(unless (mm-coding-system-p 'big5-hkscs) |
| 58 | '((big5-hkscs . big5))) | 58 | '((big5-hkscs . big5))) |
| 59 | ;; A Microsoft misunderstanding. | 59 | ;; A Microsoft misunderstanding. |
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index 7b7cefa4055..0d7193c1be0 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el | |||
| @@ -1552,7 +1552,7 @@ in a buffer, try /bin/rmail instead of /bin/mail. If /bin/rmail | |||
| 1552 | exists, this can be accomplished by keeping the default nil setting of | 1552 | exists, this can be accomplished by keeping the default nil setting of |
| 1553 | `mail-interactive'. You might also like to consult local mail experts | 1553 | `mail-interactive'. You might also like to consult local mail experts |
| 1554 | for any other interesting command line possibilities. Some versions | 1554 | for any other interesting command line possibilities. Some versions |
| 1555 | of UNIX have an rmail program which behaves differently than | 1555 | of UNIX have an rmail program which behaves differently from |
| 1556 | /bin/rmail and complains if feedmail gives it a message on stdin. If | 1556 | /bin/rmail and complains if feedmail gives it a message on stdin. If |
| 1557 | you don't know about such things and if there is no local expert to | 1557 | you don't know about such things and if there is no local expert to |
| 1558 | consult, stick with /bin/mail or use one of the other buffer eating | 1558 | consult, stick with /bin/mail or use one of the other buffer eating |
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 91d097d678a..14adb5a195d 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -1222,7 +1222,7 @@ external program defined by `sendmail-program'." | |||
| 1222 | (delete-region (line-beginning-position) | 1222 | (delete-region (line-beginning-position) |
| 1223 | (line-beginning-position 2)))) | 1223 | (line-beginning-position 2)))) |
| 1224 | ;; Apparently this causes a duplicate Sender. | 1224 | ;; Apparently this causes a duplicate Sender. |
| 1225 | ;; ;; If the From is different than current user, insert Sender. | 1225 | ;; ;; If the From is different from current user, insert Sender. |
| 1226 | ;; (goto-char (point-min)) | 1226 | ;; (goto-char (point-min)) |
| 1227 | ;; (and (re-search-forward "^From:" delimline t) | 1227 | ;; (and (re-search-forward "^From:" delimline t) |
| 1228 | ;; (progn | 1228 | ;; (progn |
diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index b8595343fcd..986d0cf4074 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el | |||
| @@ -1311,7 +1311,7 @@ use it instead of `sc-citation-root-regexp'." | |||
| 1311 | ;; filling | 1311 | ;; filling |
| 1312 | (defun sc-fill-if-different (&optional prefix) | 1312 | (defun sc-fill-if-different (&optional prefix) |
| 1313 | "Fill the region bounded by `sc-fill-begin' and point. | 1313 | "Fill the region bounded by `sc-fill-begin' and point. |
| 1314 | Only fill if optional PREFIX is different than `sc-fill-line-prefix'. | 1314 | Only fill if optional PREFIX is different from `sc-fill-line-prefix'. |
| 1315 | If `sc-auto-fill-region-p' is nil, do not fill region. If PREFIX is | 1315 | If `sc-auto-fill-region-p' is nil, do not fill region. If PREFIX is |
| 1316 | not supplied, initialize fill variables. This is useful for a regi | 1316 | not supplied, initialize fill variables. This is useful for a regi |
| 1317 | `begin' frame-entry." | 1317 | `begin' frame-entry." |
diff --git a/lisp/org/org-attach.el b/lisp/org/org-attach.el index 6148657bec4..1ed305c9ff3 100644 --- a/lisp/org/org-attach.el +++ b/lisp/org/org-attach.el | |||
| @@ -429,7 +429,7 @@ attachment-folder. | |||
| 429 | 429 | ||
| 430 | Change of attachment-folder due to unset might be if an ID | 430 | Change of attachment-folder due to unset might be if an ID |
| 431 | property is set on the node, or if a separate inherited | 431 | property is set on the node, or if a separate inherited |
| 432 | DIR-property exists (that is different than the unset one)." | 432 | DIR-property exists (that is different from the unset one)." |
| 433 | (interactive) | 433 | (interactive) |
| 434 | (let ((old (org-attach-dir)) | 434 | (let ((old (org-attach-dir)) |
| 435 | (new | 435 | (new |
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index c3cd31fdd00..23fb1effdd4 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -388,14 +388,17 @@ comment at the start of cc-engine.el for more info." | |||
| 388 | (forward-char) | 388 | (forward-char) |
| 389 | t))) | 389 | t))) |
| 390 | (let ((cand-EOM (point))) | 390 | (let ((cand-EOM (point))) |
| 391 | (if (and c-last-open-c-comment-start-on-line-re | 391 | (if (and c-open-c-comment-on-logical-line-re |
| 392 | (re-search-backward | 392 | (re-search-backward |
| 393 | c-last-open-c-comment-start-on-line-re | 393 | c-open-c-comment-on-logical-line-re |
| 394 | (c-point 'bol) t)) | 394 | nil t) |
| 395 | (progn | 395 | (match-beginning 1) |
| 396 | (goto-char (match-beginning 1)) | 396 | (progn |
| 397 | (and (c-forward-single-comment) | 397 | (goto-char (match-beginning 1)) |
| 398 | (> (point) cand-EOM))) | 398 | (and (c-forward-single-comment) |
| 399 | (> (point) cand-EOM)))) | ||
| 400 | t | ||
| 401 | (goto-char cand-EOM) | ||
| 399 | nil))))) | 402 | nil))))) |
| 400 | 403 | ||
| 401 | (when (and (car c-macro-cache) | 404 | (when (and (car c-macro-cache) |
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 715af32d7ea..667561719cb 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -86,7 +86,7 @@ | |||
| 86 | ;; compiled runtime constants ready for use by (the byte compiled) CC | 86 | ;; compiled runtime constants ready for use by (the byte compiled) CC |
| 87 | ;; Mode, and the source definitions in this file don't have to be | 87 | ;; Mode, and the source definitions in this file don't have to be |
| 88 | ;; loaded then. However, if a byte compiled package is loaded that | 88 | ;; loaded then. However, if a byte compiled package is loaded that |
| 89 | ;; has been compiled with a different version of CC Mode than the one | 89 | ;; has been compiled with a different version of CC Mode from the one |
| 90 | ;; currently loaded, then the compiled-in values will be discarded and | 90 | ;; currently loaded, then the compiled-in values will be discarded and |
| 91 | ;; new ones will be built when the mode is initialized. That will | 91 | ;; new ones will be built when the mode is initialized. That will |
| 92 | ;; automatically trig a load of the file(s) containing the source | 92 | ;; automatically trig a load of the file(s) containing the source |
| @@ -1707,7 +1707,10 @@ ender." | |||
| 1707 | (c-lang-const c-last-c-comment-end-on-line-re)) | 1707 | (c-lang-const c-last-c-comment-end-on-line-re)) |
| 1708 | 1708 | ||
| 1709 | (c-lang-defconst c-last-open-c-comment-start-on-line-re | 1709 | (c-lang-defconst c-last-open-c-comment-start-on-line-re |
| 1710 | "Regexp which matches the last block comment start on the | 1710 | "Do NOT use this constant any more. Instead use |
| 1711 | `c-open-c-comment-on-logical-line-re' (2020-02-10). | ||
| 1712 | |||
| 1713 | Regexp which matches the last block comment start on the | ||
| 1711 | current ine, if any, or nil in those languages without block | 1714 | current ine, if any, or nil in those languages without block |
| 1712 | comments. When a match is found, submatch 1 contains the comment | 1715 | comments. When a match is found, submatch 1 contains the comment |
| 1713 | starter." | 1716 | starter." |
| @@ -1715,6 +1718,20 @@ starter." | |||
| 1715 | awk nil) | 1718 | awk nil) |
| 1716 | (c-lang-defvar c-last-open-c-comment-start-on-line-re | 1719 | (c-lang-defvar c-last-open-c-comment-start-on-line-re |
| 1717 | (c-lang-const c-last-open-c-comment-start-on-line-re)) | 1720 | (c-lang-const c-last-open-c-comment-start-on-line-re)) |
| 1721 | (make-obsolete-variable 'c-last-open-c-comment-start-on-line-re | ||
| 1722 | 'c-open-c-comment-on-logical-line-re | ||
| 1723 | "5.35") | ||
| 1724 | |||
| 1725 | (c-lang-defconst c-open-c-comment-on-logical-line-re | ||
| 1726 | "Regexp which matches an open block comment on the current logical line. | ||
| 1727 | It is intended for searching backwards from the end of a line. | ||
| 1728 | Such a search will stop at the first encountered non-escaped | ||
| 1729 | newline or open block comment. If the comment is found, submatch | ||
| 1730 | 1 contains the comment starter." | ||
| 1731 | t "[^\\\n][\r\n]\\|\\(/\\*\\)\\([^*]\\|\\*+\\([^*/]\\|$\\)\\)*$" | ||
| 1732 | awk nil) | ||
| 1733 | (c-lang-defvar c-open-c-comment-on-logical-line-re | ||
| 1734 | (c-lang-const c-open-c-comment-on-logical-line-re)) | ||
| 1718 | 1735 | ||
| 1719 | (c-lang-defconst c-literal-start-regexp | 1736 | (c-lang-defconst c-literal-start-regexp |
| 1720 | ;; Regexp to match the start of comments and string literals. | 1737 | ;; Regexp to match the start of comments and string literals. |
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index e21bbaefd95..dba70cb2821 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -3502,7 +3502,7 @@ Returns nil if frame not found." | |||
| 3502 | 3502 | ||
| 3503 | (defun idlwave-shell-new-bp (bp) | 3503 | (defun idlwave-shell-new-bp (bp) |
| 3504 | "Find the new breakpoint in IDL's list and update with DATA. | 3504 | "Find the new breakpoint in IDL's list and update with DATA. |
| 3505 | The actual line number for a breakpoint in IDL may be different than | 3505 | The actual line number for a breakpoint in IDL may be different from |
| 3506 | the line number used with the IDL breakpoint command. | 3506 | the line number used with the IDL breakpoint command. |
| 3507 | Looks for a new breakpoint index number in the list. This is | 3507 | Looks for a new breakpoint index number in the list. This is |
| 3508 | considered the new breakpoint if the file name of frame matches." | 3508 | considered the new breakpoint if the file name of frame matches." |
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 5f6e1cfd99e..ace30017814 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -3046,7 +3046,7 @@ See also `ps-use-face-background'." | |||
| 3046 | (defcustom ps-fg-list nil | 3046 | (defcustom ps-fg-list nil |
| 3047 | "Specify foreground color list. | 3047 | "Specify foreground color list. |
| 3048 | 3048 | ||
| 3049 | This list is used to chose a text foreground color which is different than the | 3049 | This list is used to chose a text foreground color which is different from the |
| 3050 | background color. It'll be used the first foreground color in `ps-fg-list' | 3050 | background color. It'll be used the first foreground color in `ps-fg-list' |
| 3051 | which is different from the background color. | 3051 | which is different from the background color. |
| 3052 | 3052 | ||
| @@ -6028,8 +6028,8 @@ to the equivalent Latin-1 characters.") | |||
| 6028 | 6028 | ||
| 6029 | ;; Specify a foreground color only if: | 6029 | ;; Specify a foreground color only if: |
| 6030 | ;; one's specified, | 6030 | ;; one's specified, |
| 6031 | ;; it's different than the background (if `ps-fg-validate-p' is non-nil) | 6031 | ;; it's different from the background (if `ps-fg-validate-p' is non-nil) |
| 6032 | ;; and it's different than the current. | 6032 | ;; and it's different from the current. |
| 6033 | (let ((fg (or fg-color ps-default-foreground))) | 6033 | (let ((fg (or fg-color ps-default-foreground))) |
| 6034 | (if ps-fg-validate-p | 6034 | (if ps-fg-validate-p |
| 6035 | (let ((bg (or bg-color ps-default-background)) | 6035 | (let ((bg (or bg-color ps-default-background)) |
diff --git a/lisp/simple.el b/lisp/simple.el index 8efba57c4d0..0217ae7c1e6 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -2775,7 +2775,7 @@ Return what remains of the list." | |||
| 2775 | ;; said it would do. | 2775 | ;; said it would do. |
| 2776 | (unless (and (= start start-mark) | 2776 | (unless (and (= start start-mark) |
| 2777 | (= (+ delta end) end-mark)) | 2777 | (= (+ delta end) end-mark)) |
| 2778 | (error "Changes to be undone by function different than announced")) | 2778 | (error "Changes to be undone by function different from announced")) |
| 2779 | (set-marker start-mark nil) | 2779 | (set-marker start-mark nil) |
| 2780 | (set-marker end-mark nil)) | 2780 | (set-marker end-mark nil)) |
| 2781 | (apply fun-args)) | 2781 | (apply fun-args)) |
diff --git a/src/cmds.c b/src/cmds.c index 462cb661d54..5d7a45e65f6 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -159,7 +159,7 @@ With argument N not nil or 1, move forward N - 1 lines first. | |||
| 159 | If point reaches the beginning or end of buffer, it stops there. | 159 | If point reaches the beginning or end of buffer, it stops there. |
| 160 | 160 | ||
| 161 | This function constrains point to the current field unless this moves | 161 | This function constrains point to the current field unless this moves |
| 162 | point to a different line than the original, unconstrained result. | 162 | point to a different line from the original, unconstrained result. |
| 163 | If N is nil or 1, and a front-sticky field starts at point, the point | 163 | If N is nil or 1, and a front-sticky field starts at point, the point |
| 164 | does not move. To ignore field boundaries bind | 164 | does not move. To ignore field boundaries bind |
| 165 | `inhibit-field-text-motion' to t, or use the `forward-line' function | 165 | `inhibit-field-text-motion' to t, or use the `forward-line' function |
| @@ -184,7 +184,7 @@ If point reaches the beginning or end of buffer, it stops there. | |||
| 184 | To ignore intangibility, bind `inhibit-point-motion-hooks' to t. | 184 | To ignore intangibility, bind `inhibit-point-motion-hooks' to t. |
| 185 | 185 | ||
| 186 | This function constrains point to the current field unless this moves | 186 | This function constrains point to the current field unless this moves |
| 187 | point to a different line than the original, unconstrained result. If | 187 | point to a different line from the original, unconstrained result. If |
| 188 | N is nil or 1, and a rear-sticky field ends at point, the point does | 188 | N is nil or 1, and a rear-sticky field ends at point, the point does |
| 189 | not move. To ignore field boundaries bind `inhibit-field-text-motion' | 189 | not move. To ignore field boundaries bind `inhibit-field-text-motion' |
| 190 | to t. */) | 190 | to t. */) |
diff --git a/src/editfns.c b/src/editfns.c index 3f1b3aa4b75..05ad3925813 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -717,7 +717,7 @@ position of the first character in logical order, i.e. the smallest | |||
| 717 | character position on the line. | 717 | character position on the line. |
| 718 | 718 | ||
| 719 | This function constrains the returned position to the current field | 719 | This function constrains the returned position to the current field |
| 720 | unless that position would be on a different line than the original, | 720 | unless that position would be on a different line from the original, |
| 721 | unconstrained result. If N is nil or 1, and a front-sticky field | 721 | unconstrained result. If N is nil or 1, and a front-sticky field |
| 722 | starts at point, the scan stops as soon as it starts. To ignore field | 722 | starts at point, the scan stops as soon as it starts. To ignore field |
| 723 | boundaries, bind `inhibit-field-text-motion' to t. | 723 | boundaries, bind `inhibit-field-text-motion' to t. |
| @@ -750,7 +750,7 @@ position of the last character in logical order, i.e. the largest | |||
| 750 | character position on the line. | 750 | character position on the line. |
| 751 | 751 | ||
| 752 | This function constrains the returned position to the current field | 752 | This function constrains the returned position to the current field |
| 753 | unless that would be on a different line than the original, | 753 | unless that would be on a different line from the original, |
| 754 | unconstrained result. If N is nil or 1, and a rear-sticky field ends | 754 | unconstrained result. If N is nil or 1, and a rear-sticky field ends |
| 755 | at point, the scan stops as soon as it starts. To ignore field | 755 | at point, the scan stops as soon as it starts. To ignore field |
| 756 | boundaries bind `inhibit-field-text-motion' to t. | 756 | boundaries bind `inhibit-field-text-motion' to t. |
diff --git a/src/fontset.c b/src/fontset.c index 22b7618d8aa..bca9452418e 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -353,7 +353,7 @@ fontset_add (Lisp_Object fontset, Lisp_Object range, Lisp_Object elt, Lisp_Objec | |||
| 353 | (NILP (args[idx]) ? args[1 - idx] | 353 | (NILP (args[idx]) ? args[1 - idx] |
| 354 | : CALLMANY (Fvconcat, args))); | 354 | : CALLMANY (Fvconcat, args))); |
| 355 | from = to1 + 1; | 355 | from = to1 + 1; |
| 356 | } while (from < to); | 356 | } while (from <= to); |
| 357 | } | 357 | } |
| 358 | else | 358 | else |
| 359 | { | 359 | { |
diff --git a/src/frame.h b/src/frame.h index 68dc0ce3649..641bb430d0e 100644 --- a/src/frame.h +++ b/src/frame.h | |||
| @@ -108,7 +108,7 @@ struct frame | |||
| 108 | to redirect keystrokes to a surrogate minibuffer frame when | 108 | to redirect keystrokes to a surrogate minibuffer frame when |
| 109 | needed. | 109 | needed. |
| 110 | 110 | ||
| 111 | Note that a value of nil is different than having the field point | 111 | Note that a value of nil is different from having the field point |
| 112 | to the frame itself. Whenever the Fselect_frame function is used | 112 | to the frame itself. Whenever the Fselect_frame function is used |
| 113 | to shift from one frame to the other, any redirections to the | 113 | to shift from one frame to the other, any redirections to the |
| 114 | original frame are shifted to the newly selected frame; if | 114 | original frame are shifted to the newly selected frame; if |
diff --git a/src/regex-emacs.c b/src/regex-emacs.c index 552216cd87b..694431c95e2 100644 --- a/src/regex-emacs.c +++ b/src/regex-emacs.c | |||
| @@ -3932,7 +3932,7 @@ re_match_2_internal (struct re_pattern_buffer *bufp, | |||
| 3932 | allocate space for that if we're not allocating space for anything | 3932 | allocate space for that if we're not allocating space for anything |
| 3933 | else (see below). Also, we never need info about register 0 for | 3933 | else (see below). Also, we never need info about register 0 for |
| 3934 | any of the other register vectors, and it seems rather a kludge to | 3934 | any of the other register vectors, and it seems rather a kludge to |
| 3935 | treat 'best_regend' differently than the rest. So we keep track of | 3935 | treat 'best_regend' differently from the rest. So we keep track of |
| 3936 | the end of the best match so far in a separate variable. We | 3936 | the end of the best match so far in a separate variable. We |
| 3937 | initialize this to NULL so that when we backtrack the first time | 3937 | initialize this to NULL so that when we backtrack the first time |
| 3938 | and need to test it, it's not garbage. */ | 3938 | and need to test it, it's not garbage. */ |
diff --git a/src/xfaces.c b/src/xfaces.c index 3689b9ee7d3..91a7a8533e8 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -4940,7 +4940,7 @@ DEFUN ("face-attributes-as-vector", Fface_attributes_as_vector, | |||
| 4940 | that a face containing all the attributes in ATTRS, when merged with the | 4940 | that a face containing all the attributes in ATTRS, when merged with the |
| 4941 | default face for display, can be represented in a way that's | 4941 | default face for display, can be represented in a way that's |
| 4942 | 4942 | ||
| 4943 | (1) different in appearance than the default face, and | 4943 | (1) different in appearance from the default face, and |
| 4944 | (2) `close in spirit' to what the attributes specify, if not exact. */ | 4944 | (2) `close in spirit' to what the attributes specify, if not exact. */ |
| 4945 | 4945 | ||
| 4946 | static bool | 4946 | static bool |
| @@ -5043,7 +5043,7 @@ gui_supports_face_attributes_p (struct frame *f, | |||
| 5043 | that a face containing all the attributes in ATTRS, when merged | 5043 | that a face containing all the attributes in ATTRS, when merged |
| 5044 | with the default face for display, can be represented in a way that's | 5044 | with the default face for display, can be represented in a way that's |
| 5045 | 5045 | ||
| 5046 | (1) different in appearance than the default face, and | 5046 | (1) different in appearance from the default face, and |
| 5047 | (2) `close in spirit' to what the attributes specify, if not exact. | 5047 | (2) `close in spirit' to what the attributes specify, if not exact. |
| 5048 | 5048 | ||
| 5049 | Point (2) implies that a `:weight black' attribute will be satisfied | 5049 | Point (2) implies that a `:weight black' attribute will be satisfied |
| @@ -5160,7 +5160,7 @@ tty_supports_face_attributes_p (struct frame *f, | |||
| 5160 | > TTY_SAME_COLOR_THRESHOLD) | 5160 | > TTY_SAME_COLOR_THRESHOLD) |
| 5161 | return false; /* displayed color is too different */ | 5161 | return false; /* displayed color is too different */ |
| 5162 | else | 5162 | else |
| 5163 | /* Make sure the color is really different than the default. */ | 5163 | /* Make sure the color is really different from the default. */ |
| 5164 | { | 5164 | { |
| 5165 | Emacs_Color def_fg_color; | 5165 | Emacs_Color def_fg_color; |
| 5166 | if (tty_lookup_color (f, def_fg, &def_fg_color, 0) | 5166 | if (tty_lookup_color (f, def_fg, &def_fg_color, 0) |
| @@ -5184,7 +5184,7 @@ tty_supports_face_attributes_p (struct frame *f, | |||
| 5184 | > TTY_SAME_COLOR_THRESHOLD) | 5184 | > TTY_SAME_COLOR_THRESHOLD) |
| 5185 | return false; /* displayed color is too different */ | 5185 | return false; /* displayed color is too different */ |
| 5186 | else | 5186 | else |
| 5187 | /* Make sure the color is really different than the default. */ | 5187 | /* Make sure the color is really different from the default. */ |
| 5188 | { | 5188 | { |
| 5189 | Emacs_Color def_bg_color; | 5189 | Emacs_Color def_bg_color; |
| 5190 | if (tty_lookup_color (f, def_bg, &def_bg_color, 0) | 5190 | if (tty_lookup_color (f, def_bg, &def_bg_color, 0) |
| @@ -5226,7 +5226,7 @@ The definition of `supported' is somewhat heuristic, but basically means | |||
| 5226 | that a face containing all the attributes in ATTRIBUTES, when merged | 5226 | that a face containing all the attributes in ATTRIBUTES, when merged |
| 5227 | with the default face for display, can be represented in a way that's | 5227 | with the default face for display, can be represented in a way that's |
| 5228 | 5228 | ||
| 5229 | (1) different in appearance than the default face, and | 5229 | (1) different in appearance from the default face, and |
| 5230 | (2) `close in spirit' to what the attributes specify, if not exact. | 5230 | (2) `close in spirit' to what the attributes specify, if not exact. |
| 5231 | 5231 | ||
| 5232 | Point (2) implies that a `:weight black' attribute will be satisfied by | 5232 | Point (2) implies that a `:weight black' attribute will be satisfied by |