comparison lisp/ChangeLog @ 5665:8593e614573a

Avoid signalling args-out-of-range errors, #'truncate-string-to-width lisp/ChangeLog addition: Avoid args-out-of-range errors, this function is regularly called from menu code and with debug-on-signal non-nil, this can be very irritating. Don't bind ellipsis-len, we don't use it.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 12 May 2012 18:12:13 +0100
parents 00fd55d635fb
children daf5accfe973
comparison
equal deleted inserted replaced
5664:00fd55d635fb 5665:8593e614573a
1 2012-05-12 Aidan Kehoe <kehoea@parhasard.net> 1 2012-05-12 Aidan Kehoe <kehoea@parhasard.net>
2 2
3 * subr.el: 3 * subr.el:
4 * subr.el (truncate-string-to-width): 4 * subr.el (truncate-string-to-width):
5 Sync with GNU's version, use its test suite in mule-tests.el. 5 Sync with GNU's version, use its test suite in mule-tests.el.
6 Avoid args-out-of-range errors, this function is regularly called
7 from menu code and with debug-on-signal non-nil, this can be very
8 irritating.
9 Don't bind ellipsis-len, we don't use it.
6 10
7 2012-05-12 Aidan Kehoe <kehoea@parhasard.net> 11 2012-05-12 Aidan Kehoe <kehoea@parhasard.net>
8 12
9 * byte-optimize.el (byte-compile-unfold-lambda): 13 * byte-optimize.el (byte-compile-unfold-lambda):
10 Fetch the bytecode before unfolding a compiled function, its body 14 Fetch the bytecode before unfolding a compiled function, its body