diff options
| author | Glenn Morris | 2020-04-20 07:50:19 -0700 |
|---|---|---|
| committer | Glenn Morris | 2020-04-20 07:50:19 -0700 |
| commit | 477b9eaf45da1ebc4f2117d69df3571f0bf61e47 (patch) | |
| tree | 4600314923713c339c41cd450f50e64c3f16a8aa /src | |
| parent | 80f04b5d7c817977a365a999693443c4e04e5223 (diff) | |
| parent | 05089a4d65831c5e873956f5f2d92a3d5672d405 (diff) | |
| download | emacs-477b9eaf45da1ebc4f2117d69df3571f0bf61e47.tar.gz emacs-477b9eaf45da1ebc4f2117d69df3571f0bf61e47.zip | |
Merge from origin/emacs-27
05089a4d65 (origin/emacs-27) Tweak wording re constant variables
a1040861f1 Tweak setcar-related wording
751510f865 * lisp/image-mode.el: Add prefix key 's' and reduce depend...
9261a219ec * doc/emacs/windows.texi (Window Convenience): Decribe mor...
e1d42da0d6 Fix mutability glitches reported by Drew Adams
5805df74f5 Improve mutability doc
dca35b31d0 Improve mutability documentation
81e7d7f111 Document that quoting yields constants
5734339f40 * doc/lispref/keymaps.texi (Extended Menu Items, Easy Menu...
14a570afae Remove #' and function quoting from lambda forms in manual
d5ec18c66b * src/regex-emacs.c (re_match_2_internal): Rework comment ...
4df8a61117 Add new node "Image Mode" to Emacs Manual.
d7d5ee6c57 ; Fix a typo in cmdargs.texi (bug#40701)
5e9db48fbe * doc/lispref/display.texi (Customizing Bitmaps): Fix typo.
eebfb72c90 Document constant vs mutable objects better
6c187ed6b0 Improve documentation of 'sort-lines'
52288f4b66 Mention 'spam-stat-process-directory-age' in the documenta...
067b070598 ; Fix some typos and doc issues (bug#40695)
# Conflicts:
# etc/NEWS
Diffstat (limited to 'src')
| -rw-r--r-- | src/eval.c | 2 | ||||
| -rw-r--r-- | src/lread.c | 2 | ||||
| -rw-r--r-- | src/regex-emacs.c | 8 | ||||
| -rw-r--r-- | src/syntax.c | 4 |
4 files changed, 9 insertions, 7 deletions
diff --git a/src/eval.c b/src/eval.c index 78a787c4ffd..014905ce6df 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1229,7 +1229,7 @@ The car of a handler may be a list of condition names instead of a | |||
| 1229 | single condition name; then it handles all of them. If the special | 1229 | single condition name; then it handles all of them. If the special |
| 1230 | condition name `debug' is present in this list, it allows another | 1230 | condition name `debug' is present in this list, it allows another |
| 1231 | condition in the list to run the debugger if `debug-on-error' and the | 1231 | condition in the list to run the debugger if `debug-on-error' and the |
| 1232 | other usual mechanisms says it should (otherwise, `condition-case' | 1232 | other usual mechanisms say it should (otherwise, `condition-case' |
| 1233 | suppresses the debugger). | 1233 | suppresses the debugger). |
| 1234 | 1234 | ||
| 1235 | When a handler handles an error, control returns to the `condition-case' | 1235 | When a handler handles an error, control returns to the `condition-case' |
diff --git a/src/lread.c b/src/lread.c index c6607a8935f..59bf529f45c 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -4881,7 +4881,7 @@ features required. Each entry has the form `(provide . FEATURE)', | |||
| 4881 | `(defface . SYMBOL)', `(define-type . SYMBOL)', | 4881 | `(defface . SYMBOL)', `(define-type . SYMBOL)', |
| 4882 | `(cl-defmethod METHOD SPECIALIZERS)', or `(t . SYMBOL)'. | 4882 | `(cl-defmethod METHOD SPECIALIZERS)', or `(t . SYMBOL)'. |
| 4883 | Entries like `(t . SYMBOL)' may precede a `(defun . FUNCTION)' entry, | 4883 | Entries like `(t . SYMBOL)' may precede a `(defun . FUNCTION)' entry, |
| 4884 | and means that SYMBOL was an autoload before this file redefined it | 4884 | and mean that SYMBOL was an autoload before this file redefined it |
| 4885 | as a function. In addition, entries may also be single symbols, | 4885 | as a function. In addition, entries may also be single symbols, |
| 4886 | which means that symbol was defined by `defvar' or `defconst'. | 4886 | which means that symbol was defined by `defvar' or `defconst'. |
| 4887 | 4887 | ||
diff --git a/src/regex-emacs.c b/src/regex-emacs.c index 9cade11c9fb..ba7f3cef64b 100644 --- a/src/regex-emacs.c +++ b/src/regex-emacs.c | |||
| @@ -3954,9 +3954,11 @@ re_match_2_internal (struct re_pattern_buffer *bufp, | |||
| 3954 | 3954 | ||
| 3955 | /* Prevent shrinking and relocation of buffer text if GC happens | 3955 | /* Prevent shrinking and relocation of buffer text if GC happens |
| 3956 | while we are inside this function. The calls to | 3956 | while we are inside this function. The calls to |
| 3957 | UPDATE_SYNTAX_TABLE_* macros can trigger GC if they call Lisp, | 3957 | UPDATE_SYNTAX_TABLE_* macros can call Lisp (via |
| 3958 | and we have C pointers to buffer text that must not become | 3958 | `internal--syntax-propertize`); these calls are careful to defend against |
| 3959 | invalid as result of GC. */ | 3959 | buffer modifications, but even with no modifications, the buffer text may |
| 3960 | be relocated during GC by `compact_buffer` which would invalidate | ||
| 3961 | our C pointers to buffer text. */ | ||
| 3960 | if (!current_buffer->text->inhibit_shrinking) | 3962 | if (!current_buffer->text->inhibit_shrinking) |
| 3961 | { | 3963 | { |
| 3962 | record_unwind_protect_ptr (unwind_re_match, current_buffer); | 3964 | record_unwind_protect_ptr (unwind_re_match, current_buffer); |
diff --git a/src/syntax.c b/src/syntax.c index c765cc9a17b..a03202d386c 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -480,10 +480,10 @@ parse_sexp_propertize (ptrdiff_t charpos) | |||
| 480 | safe_call1 (Qinternal__syntax_propertize, | 480 | safe_call1 (Qinternal__syntax_propertize, |
| 481 | make_fixnum (min (zv, 1 + charpos))); | 481 | make_fixnum (min (zv, 1 + charpos))); |
| 482 | if (modiffs != CHARS_MODIFF) | 482 | if (modiffs != CHARS_MODIFF) |
| 483 | error ("parse-sexp-propertize-function modified the buffer!"); | 483 | error ("internal--syntax-propertize modified the buffer!"); |
| 484 | if (syntax_propertize__done <= charpos | 484 | if (syntax_propertize__done <= charpos |
| 485 | && syntax_propertize__done < zv) | 485 | && syntax_propertize__done < zv) |
| 486 | error ("parse-sexp-propertize-function did not move" | 486 | error ("internal--syntax-propertize did not move" |
| 487 | " syntax-propertize--done"); | 487 | " syntax-propertize--done"); |
| 488 | SETUP_SYNTAX_TABLE (charpos, 1); | 488 | SETUP_SYNTAX_TABLE (charpos, 1); |
| 489 | } | 489 | } |