diff options
| author | Eli Zaretskii | 2024-07-13 08:44:49 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-07-13 08:44:49 -0400 |
| commit | 44ae4868d38acf7d8173be39c052b7fc9a7aaefa (patch) | |
| tree | ad05d0568f40b8c775c0e46f9309e7eea03aba8d /src | |
| parent | 3a26a51c69b064546fd4647a94cdfc2656b201ec (diff) | |
| parent | a6c78ccf5f297e612ff0f2159a7bed3a70637168 (diff) | |
| download | emacs-44ae4868d38acf7d8173be39c052b7fc9a7aaefa.tar.gz emacs-44ae4868d38acf7d8173be39c052b7fc9a7aaefa.zip | |
Merge from origin/emacs-30
a6c78ccf5f2 ; * src/w32fns.c (Fw32_notification_close): Fix typo (bug...
febafe37884 * test/lisp/wdired-tests.el (wdired-test-bug34915): Fix f...
846b79b6d02 Fix 'wdired-test-unfinished-edit-01'
bc154cba130 ; * src/search.c (Fre_search_forward): Clarify doc string...
53291e3d46e Fontify destructor in c++-ts-mode
d77f8a34750 Fix invalid defcustom type for erc-buffers option
d68a4ea3ec6 ; Fix 'ibuffer-do-isearch{-regexp}'
8b1a0f8695a Fix infloop in 'shell-resync-dirs'
ce13eee5ab7 ; * src/image.c (free_image_cache): Add assertion. (Bug#...
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 3 | ||||
| -rw-r--r-- | src/search.c | 2 | ||||
| -rw-r--r-- | src/w32fns.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c index 2ee2f3245be..3d761bd48be 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -2306,6 +2306,9 @@ free_image_cache (struct frame *f) | |||
| 2306 | struct image_cache *c = FRAME_IMAGE_CACHE (f); | 2306 | struct image_cache *c = FRAME_IMAGE_CACHE (f); |
| 2307 | ptrdiff_t i; | 2307 | ptrdiff_t i; |
| 2308 | 2308 | ||
| 2309 | /* This function assumes the caller already verified that the frame's | ||
| 2310 | image cache is non-NULL. */ | ||
| 2311 | eassert (c); | ||
| 2309 | /* Cache should not be referenced by any frame when freed. */ | 2312 | /* Cache should not be referenced by any frame when freed. */ |
| 2310 | eassert (c->refcount == 0); | 2313 | eassert (c->refcount == 0); |
| 2311 | 2314 | ||
diff --git a/src/search.c b/src/search.c index dd813eda913..2ff8b0599c4 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -2279,7 +2279,7 @@ The optional second argument BOUND is a buffer position that bounds | |||
| 2279 | value of nil means search to the end of the accessible portion of | 2279 | value of nil means search to the end of the accessible portion of |
| 2280 | the buffer. | 2280 | the buffer. |
| 2281 | The optional third argument NOERROR indicates how errors are handled | 2281 | The optional third argument NOERROR indicates how errors are handled |
| 2282 | when the search fails. If it is nil or omitted, emit an error; if | 2282 | when the search fails: if it is nil or omitted, emit an error; if |
| 2283 | it is t, simply return nil and do nothing; if it is neither nil nor | 2283 | it is t, simply return nil and do nothing; if it is neither nil nor |
| 2284 | t, move to the limit of search and return nil. | 2284 | t, move to the limit of search and return nil. |
| 2285 | The optional fourth argument COUNT is a number that indicates the | 2285 | The optional fourth argument COUNT is a number that indicates the |
diff --git a/src/w32fns.c b/src/w32fns.c index 7fc2f598b3e..e5798fdd84f 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -10472,7 +10472,7 @@ DEFUN ("w32-notification-close", | |||
| 10472 | { | 10472 | { |
| 10473 | struct frame *f = SELECTED_FRAME (); | 10473 | struct frame *f = SELECTED_FRAME (); |
| 10474 | 10474 | ||
| 10475 | if (FIXNUMP (id) && !pfnShell_NotifyIconW) | 10475 | if (FIXNUMP (id) && pfnShell_NotifyIconW) |
| 10476 | delete_tray_notification (f, XFIXNUM (id)); | 10476 | delete_tray_notification (f, XFIXNUM (id)); |
| 10477 | 10477 | ||
| 10478 | return Qnil; | 10478 | return Qnil; |