aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in2
-rw-r--r--src/buffer.c2
-rw-r--r--src/composite.h4
-rw-r--r--src/term.c2
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. */)
1434DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p, 1434DEFUN ("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.
1437This function also locks and unlocks the file visited by the buffer, 1437This function also locks or unlocks the file visited by the buffer,
1438if both `buffer-file-truename' and `buffer-file-name' are non-nil. 1438if both `buffer-file-truename' and `buffer-file-name' are non-nil.
1439 1439
1440It is not ensured that mode lines will be updated to show the modified 1440It 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;