diff options
| author | Glenn Morris | 2021-10-08 07:50:28 -0700 |
|---|---|---|
| committer | Glenn Morris | 2021-10-08 07:50:28 -0700 |
| commit | 2bc37c14dbdf3fdf337862caa31fabfe69476e70 (patch) | |
| tree | 202441d8497712242e0c3c1f5d8a2c3bd6e40f5e /src | |
| parent | b506c5b217d4adf68013c15be0d1b16189de089b (diff) | |
| parent | af01b674cec1ea7e9dd801f40c1ca8221f5cc8da (diff) | |
| download | emacs-2bc37c14dbdf3fdf337862caa31fabfe69476e70.tar.gz emacs-2bc37c14dbdf3fdf337862caa31fabfe69476e70.zip | |
Merge from origin/emacs-28
af01b674ce (origin/emacs-28) ; Fix spacing in previous commit
915e044d60 Use the correct label in the warning
6e83a4100a ; * admin/make-tarball.txt: Should configure --with-native...
525602d682 ; * etc/TODO (display): Add entry about Default_Ignorables.
65de510c16 ; Fix 'restore-buffer-modified-p' doc string typo
9d8202b45e Add Emacs 27 compatibility hack
89d64fca75 Pacify GCC 10.3 -Wmaybe-uninitialized
bb8ef1aa30 * lisp/tab-bar.el (tab-detach, tab-window-detach): New ali...
7ae70054aa ; * src/composite.h (LGSTRING_FONT): Add comment about its...
1af00e67d6 Include the refcards in the release tarball
3c29fb705c ; * src/Makefile.in (../native-lisp): Make the long recipe...
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 2 | ||||
| -rw-r--r-- | src/buffer.c | 2 | ||||
| -rw-r--r-- | src/composite.h | 4 | ||||
| -rw-r--r-- | src/term.c | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index b8d0e7b54ce..0326b4a8f22 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -804,7 +804,7 @@ elnlisp := $(addprefix ${lispsource}/,${elnlisp}) $(lisp:.elc=.eln) | |||
| 804 | THEFILE=$< $<n | 804 | THEFILE=$< $<n |
| 805 | 805 | ||
| 806 | ../native-lisp: | $(pdmp) | 806 | ../native-lisp: | $(pdmp) |
| 807 | if test ! -d $@; then \ | 807 | @if test ! -d $@; then \ |
| 808 | mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \ | 808 | mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \ |
| 809 | if test $(SYSTEM_TYPE) = cygwin; then \ | 809 | if test $(SYSTEM_TYPE) = cygwin; then \ |
| 810 | find $@ -name '*.eln' | rebase -v -O -T -; \ | 810 | find $@ -name '*.eln' | rebase -v -O -T -; \ |
diff --git a/src/buffer.c b/src/buffer.c index c5b2736ae3a..648d7227d8b 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1434,7 +1434,7 @@ and `buffer-file-truename' are non-nil. */) | |||
| 1434 | DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p, | 1434 | DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p, |
| 1435 | Srestore_buffer_modified_p, 1, 1, 0, | 1435 | Srestore_buffer_modified_p, 1, 1, 0, |
| 1436 | doc: /* Like `set-buffer-modified-p', but doesn't redisplay buffer's mode line. | 1436 | doc: /* Like `set-buffer-modified-p', but doesn't redisplay buffer's mode line. |
| 1437 | This function also locks and unlocks the file visited by the buffer, | 1437 | This function also locks or unlocks the file visited by the buffer, |
| 1438 | if both `buffer-file-truename' and `buffer-file-name' are non-nil. | 1438 | if both `buffer-file-truename' and `buffer-file-name' are non-nil. |
| 1439 | 1439 | ||
| 1440 | It is not ensured that mode lines will be updated to show the modified | 1440 | It is not ensured that mode lines will be updated to show the modified |
diff --git a/src/composite.h b/src/composite.h index 67e87201bf2..945f2612915 100644 --- a/src/composite.h +++ b/src/composite.h | |||
| @@ -254,6 +254,10 @@ composition_valid_p (ptrdiff_t start, ptrdiff_t end, Lisp_Object prop) | |||
| 254 | #define LGSTRING_HEADER(lgs) AREF (lgs, 0) | 254 | #define LGSTRING_HEADER(lgs) AREF (lgs, 0) |
| 255 | #define LGSTRING_SET_HEADER(lgs, header) ASET (lgs, 0, header) | 255 | #define LGSTRING_SET_HEADER(lgs, header) ASET (lgs, 0, header) |
| 256 | 256 | ||
| 257 | /* LGSTRING_FONT retrieves the font used for LGSTRING, if we are going | ||
| 258 | to display it on a GUI frame. On text-mode frames, that slot | ||
| 259 | stores the coding-system that should be used to write output to the | ||
| 260 | frame's terminal. */ | ||
| 257 | #define LGSTRING_FONT(lgs) AREF (LGSTRING_HEADER (lgs), 0) | 261 | #define LGSTRING_FONT(lgs) AREF (LGSTRING_HEADER (lgs), 0) |
| 258 | #define LGSTRING_CHAR(lgs, i) AREF (LGSTRING_HEADER (lgs), (i) + 1) | 262 | #define LGSTRING_CHAR(lgs, i) AREF (LGSTRING_HEADER (lgs), (i) + 1) |
| 259 | #define LGSTRING_CHAR_LEN(lgs) (ASIZE (LGSTRING_HEADER (lgs)) - 1) | 263 | #define LGSTRING_CHAR_LEN(lgs) (ASIZE (LGSTRING_HEADER (lgs)) - 1) |
diff --git a/src/term.c b/src/term.c index 0858f816851..6f0b827cfc8 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -550,7 +550,7 @@ encode_terminal_code (struct glyph *src, int src_len, | |||
| 550 | if (src->type == COMPOSITE_GLYPH) | 550 | if (src->type == COMPOSITE_GLYPH) |
| 551 | { | 551 | { |
| 552 | struct composition *cmp; | 552 | struct composition *cmp; |
| 553 | Lisp_Object gstring; | 553 | Lisp_Object gstring UNINIT; |
| 554 | int i; | 554 | int i; |
| 555 | 555 | ||
| 556 | nbytes = buf - encode_terminal_src; | 556 | nbytes = buf - encode_terminal_src; |