aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2011-08-08 17:08:48 +0200
committerJoakim Verona2011-08-08 17:08:48 +0200
commit1e3f7bd2cdb85abfbf572cc1a13e615e5c4299de (patch)
treecf8b108fccada9dca76dc616e5333739d8825728 /src
parent23e9910c1fc51657f08b4ab125c0c44e5860d942 (diff)
parentd56176114c8c9226a43db4bf68df562486e454ed (diff)
downloademacs-1e3f7bd2cdb85abfbf572cc1a13e615e5c4299de.tar.gz
emacs-1e3f7bd2cdb85abfbf572cc1a13e615e5c4299de.zip
merge upstream
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog15
-rw-r--r--src/composite.c2
-rw-r--r--src/editfns.c4
-rw-r--r--src/ftfont.c4
4 files changed, 22 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 039c225c1f6..4df4455e862 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,18 @@
12011-08-08 Chong Yidong <cyd@stupidchicken.com>
2
3 * ftfont.c (ftfont_pattern_entity): Copy the extras argument to
4 the font entity extracted from the cache (Bug#8109).
5
62011-08-07 Chong Yidong <cyd@stupidchicken.com>
7
8 * composite.c (autocmp_chars): Don't reset point. That is done by
9 restore_point_unwind (Bug#5984).
10
112011-08-07 Juri Linkov <juri@jurta.org>
12
13 * editfns.c (Fformat_time_string): Doc fix, add tag `usage:'
14 to show the arg `TIME' instead of `TIMEVAL'.
15
12011-08-06 Eli Zaretskii <eliz@gnu.org> 162011-08-06 Eli Zaretskii <eliz@gnu.org>
2 17
3 * xdisp.c (set_cursor_from_row): Fix cursor positioning when a 18 * xdisp.c (set_cursor_from_row): Fix cursor positioning when a
diff --git a/src/composite.c b/src/composite.c
index d402d5ad0c4..3308a028042 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -960,8 +960,6 @@ autocmp_chars (Lisp_Object rule, EMACS_INT charpos, EMACS_INT bytepos, EMACS_INT
960 args[4] = font_object; 960 args[4] = font_object;
961 args[5] = string; 961 args[5] = string;
962 lgstring = safe_call (6, args); 962 lgstring = safe_call (6, args);
963 if (NILP (string))
964 TEMP_SET_PT_BOTH (pt, pt_byte);
965 } 963 }
966 return unbind_to (count, lgstring); 964 return unbind_to (count, lgstring);
967} 965}
diff --git a/src/editfns.c b/src/editfns.c
index 577263c5aea..5eed386afb7 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1695,7 +1695,9 @@ The modifiers are `E' and `O'. For certain characters X,
1695%EX is a locale's alternative version of %X; 1695%EX is a locale's alternative version of %X;
1696%OX is like %X, but uses the locale's number symbols. 1696%OX is like %X, but uses the locale's number symbols.
1697 1697
1698For example, to produce full ISO 8601 format, use "%Y-%m-%dT%T%z". */) 1698For example, to produce full ISO 8601 format, use "%Y-%m-%dT%T%z".
1699
1700usage: (format-time-string FORMAT-STRING &optional TIME UNIVERSAL) */)
1699 (Lisp_Object format_string, Lisp_Object timeval, Lisp_Object universal) 1701 (Lisp_Object format_string, Lisp_Object timeval, Lisp_Object universal)
1700{ 1702{
1701 time_t value; 1703 time_t value;
diff --git a/src/ftfont.c b/src/ftfont.c
index 4e313a89021..5c98073057c 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -214,6 +214,10 @@ ftfont_pattern_entity (FcPattern *p, Lisp_Object extra)
214 214
215 for (i = 0; i < FONT_OBJLIST_INDEX; i++) 215 for (i = 0; i < FONT_OBJLIST_INDEX; i++)
216 ASET (val, i, AREF (entity, i)); 216 ASET (val, i, AREF (entity, i));
217
218 ASET (val, FONT_EXTRA_INDEX, Fcopy_sequence (extra));
219 font_put_extra (val, QCfont_entity, key);
220
217 return val; 221 return val;
218 } 222 }
219 entity = font_make_entity (); 223 entity = font_make_entity ();