diff options
author | Stephen Gildea <stepheng+emacs@gildea.com> | 2021-11-13 07:00:30 -0800 |
---|---|---|
committer | Stephen Gildea <stepheng+emacs@gildea.com> | 2021-11-13 07:04:13 -0800 |
commit | 4df334a0f74700e72bfea7817e660605c3f2a2ee (patch) | |
tree | 04701661f2e58c65b2071aaf6558afdcd56a16a7 /test/lisp/emacs-lisp/bytecomp-resources/warn-variable-let-bind-constant.el | |
parent | d3666ccdba7c3837ffffe3c50a179c110ed55569 (diff) | |
download | emacs-4df334a0f74700e72bfea7817e660605c3f2a2ee.tar.gz emacs-4df334a0f74700e72bfea7817e660605c3f2a2ee.tar.bz2 emacs-4df334a0f74700e72bfea7817e660605c3f2a2ee.zip |
MH-E threads code: use mh-scan variables correctly
* lisp/mh-e/mh-thread.el (mh-thread-current-indentation-level)
(mh-thread-find-children): Fix off-by-one error by using
'mh-scan-field-from-start-offset' directly, as
'mh-thread-parse-scan-line' does. Previously, these functions would
incorrectly consider the "date note" column as part of the thread
indenting. Since that column is almost always a Space character, that
almost always worked.
(mh-thread-ancestor): Update caller.
* test/lisp/mh-e/mh-thread-tests.el: New unit tests for affected code.
* lisp/mh-e/mh-scan.el (mh-msg-num-width-to-column): Fix doc string typo.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-variable-let-bind-constant.el')
0 files changed, 0 insertions, 0 deletions