diff options
| author | Glenn Morris | 2021-10-04 08:13:11 -0700 |
|---|---|---|
| committer | Glenn Morris | 2021-10-04 08:13:11 -0700 |
| commit | e0fdb68f8ccb1c870bfb8c3cd2bf786a0bb312b6 (patch) | |
| tree | c196f5f691ae5ad5d732f49af358768eaf9141ef /src/alloc.c | |
| parent | f0e6b47ef0a5ee15568e0b3992352d00d1055f46 (diff) | |
| parent | 3b8dda6c903e8e103a26ce812fc9400b301a09ae (diff) | |
| download | emacs-e0fdb68f8ccb1c870bfb8c3cd2bf786a0bb312b6.tar.gz emacs-e0fdb68f8ccb1c870bfb8c3cd2bf786a0bb312b6.zip | |
Merge from origin/emacs-28
3b8dda6c90 Add safety check in x_menu_show
e1fb731393 Tweak x_connection_closed when I/O error
595e506c82 * lisp/erc/erc.el (erc-user-mode): Set "+i" by default.
d00f3d4c05 Port unused decls to C2x
317eb2d5b5 Improve structure of TODO
c0793cd9de Don't use some obsolete names in documentation
87153cc915 Tweak x_hide_tip for consistency
7e871dcd27 Remove encode_terminal_code UNINITs
2a00634880 Port pdumper.c maybe_unused to C2x
6d9b3c0eaa Port systhreads.h to C2x
fd274d7d24 Pacify -Wanalyzer-null-argument in lisp_malloc
cc3fc94f09 Pacify gcc 11.2.1 -Wanalyzer-null-argument
d3a832a61a Simplify hack-read-symbol-shorthands again (bug#50946)
4831426158 Fix recipe for 'native-lisp' directory
0bb42ef803 ; * lisp/time-stamp.el (time-stamp-format): Doc string.
732c70a0d9 Simplify socket symlink-attack checking
fc32a3bd95 ; * doc/lispref/files.texi (Reading from Files): Fix wording.
3cc77aa976 Clarify (elisp) insert-file-contents with BEG or END not o...
5deeb0947d * src/Makefile.in: Simplify conditionals.
121a5abeae Move context-menu selection items Defun/List/Symbol to pro...
0c341e6e84 * lisp/tab-bar.el (tab-bar-detach-tab): Handle frame selec...
931a7276c0 * lisp/tab-line.el (tab-line-format): Add face-modified to...
3863919a00 Fix unmounting in Tramp
7a6d34cd1f * etc/themes/light-blue-theme.el: Add "Maintainer: emacs-d...
c1b1e1f545 Define HAVE_NATIVE_COMP in src/Makefile.in
137fa2d716 Rename elisp-shorthands to read-symbol-shorthands
e6fbc45b7b Font-lock shorthands in elisp-mode for quick visual recogn...
17e6f3bee5 ; Fix last change in tramp-sshfs.el
3dae1e33d1 Suppress superfluous error messages in Tramp
b228ec9fab Fix reading the tail of a file in shorthands.el
7fb2789509 Fix substitution of pretty quotes in code in easy-mmode
b47d7ce1b8 Fix agent directory deletion
b1a8a66fb0 ; * etc/TODO: Fix previous commit; delete the right thing.
6c01a21365 Clarify the purpose of internal--format-docstring-line
55dadbc57e * lisp/net/dictionary.el (context-menu-dictionary): Move m...
bb209cd5ab Update to Org 9.5-30-g10dc9d
4341e79a5f Remove bogus ":safe t" custom properties
b6f6b593c6 Fix 'apropos-compact-layout'
62d6cecfcd Remove bogus ":safe nil" custom properties
f9111d8784 The safe-local-variable property is a function (bug#50944)
3dc094abee ; Some minor tweaks to TODO
a5b4356d37 Revert "; * etc/TODO: Move elpa.gnu.org items to the end."
7bc0cee115 Revert "* etc/TODO: Rearrange to start with "Simple tasks"."
3489471417 Fix selection of fonts for Arabic on Posix platforms
13e5943386 ; Fix a typo in a doc string
bd60fca2fa Fix ox-koma-letter compilation warnings
340e527bed Preload paren.el
a9052248da Improve documentation of 'shift-select-mode'
d505971894 ; Standardize some license headers
9307889d68 Simplify shorthand injection (bug#50946)
5c77cc9584 ; * admin/release-branch.txt: Tweak previous.
# Conflicts:
# etc/NEWS
# test/lisp/subr-tests.el
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c index 0895a0f52aa..0c04d5cde05 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -988,7 +988,8 @@ record_xmalloc (size_t size) | |||
| 988 | 988 | ||
| 989 | /* Like malloc but used for allocating Lisp data. NBYTES is the | 989 | /* Like malloc but used for allocating Lisp data. NBYTES is the |
| 990 | number of bytes to allocate, TYPE describes the intended use of the | 990 | number of bytes to allocate, TYPE describes the intended use of the |
| 991 | allocated memory block (for strings, for conses, ...). */ | 991 | allocated memory block (for strings, for conses, ...). |
| 992 | NBYTES must be positive. */ | ||
| 992 | 993 | ||
| 993 | #if ! USE_LSB_TAG | 994 | #if ! USE_LSB_TAG |
| 994 | void *lisp_malloc_loser EXTERNALLY_VISIBLE; | 995 | void *lisp_malloc_loser EXTERNALLY_VISIBLE; |
| @@ -1030,7 +1031,7 @@ lisp_malloc (size_t nbytes, bool clearit, enum mem_type type) | |||
| 1030 | #endif | 1031 | #endif |
| 1031 | 1032 | ||
| 1032 | MALLOC_UNBLOCK_INPUT; | 1033 | MALLOC_UNBLOCK_INPUT; |
| 1033 | if (!val && nbytes) | 1034 | if (!val) |
| 1034 | memory_full (nbytes); | 1035 | memory_full (nbytes); |
| 1035 | MALLOC_PROBE (nbytes); | 1036 | MALLOC_PROBE (nbytes); |
| 1036 | return val; | 1037 | return val; |