aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2005-05-22 02:54:12 +0000
committerRichard M. Stallman2005-05-22 02:54:12 +0000
commit5c213fcc8641d0b01fb84fe965f5aeecc9eef392 (patch)
tree9f352606aa3942aa8c446a68dd9c11dac40ac174 /src
parent8449720ce463bf97854a22f202d3efea9b2209f2 (diff)
downloademacs-5c213fcc8641d0b01fb84fe965f5aeecc9eef392.tar.gz
emacs-5c213fcc8641d0b01fb84fe965f5aeecc9eef392.zip
(display_mode_element): If we're processing a list and
padding is specified, put it after the last element.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index dc474221503..ff5cf7a32d2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12005-05-21 Richard M. Stallman <rms@gnu.org>
2
3 * xdisp.c (display_mode_element): If we're processing a list and
4 padding is specified, put it after the last element.
5
12005-05-21 Eli Zaretskii <eliz@gnu.org> 62005-05-21 Eli Zaretskii <eliz@gnu.org>
2 7
3 * fileio.c (Fexpand_file_name) [DOS_NT]: Don't try to support 8 * fileio.c (Fexpand_file_name) [DOS_NT]: Don't try to support
diff --git a/src/xdisp.c b/src/xdisp.c
index 628688c2f07..5297b1235e9 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -16033,7 +16033,12 @@ display_mode_element (it, depth, field_width, precision, elt, props, risky)
16033 && --limit > 0 16033 && --limit > 0
16034 && (precision <= 0 || n < precision)) 16034 && (precision <= 0 || n < precision))
16035 { 16035 {
16036 n += display_mode_element (it, depth, field_width - n, 16036 n += display_mode_element (it, depth,
16037 /* Do padding only after the last
16038 element in the list. */
16039 (! CONSP (XCDR (elt))
16040 ? field_width - n
16041 : 0),
16037 precision - n, XCAR (elt), 16042 precision - n, XCAR (elt),
16038 props, risky); 16043 props, risky);
16039 elt = XCDR (elt); 16044 elt = XCDR (elt);