diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-09-30 17:33:58 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-09-30 17:33:58 +0300 |
commit | a190a446ee2be283dbd48351af507d7c64b1af9e (patch) | |
tree | 39dfb497e518ab921bc2c45e8e31f270796f369c /test/lisp/emacs-lisp/pp-tests.el | |
parent | 56d6e29d8063552b6a293f67f91ce6967913d928 (diff) | |
download | emacs-a190a446ee2be283dbd48351af507d7c64b1af9e.tar.gz emacs-a190a446ee2be283dbd48351af507d7c64b1af9e.tar.bz2 emacs-a190a446ee2be283dbd48351af507d7c64b1af9e.zip |
Fix 'move-to-column' when invisible text follows a TAB
* src/indent.c (scan_for_column): Accept 2 more arguments, and
report through them the position corresponding to PREVCOL. All
callers changed.
(Fmove_to_column): Use the prev_col's position to test for a TAB
instead of assuming that the TAB is just before point (which is
false when there's invisible text around). (Bug#43587)
* test/src/indent-tests.el: New file.
Diffstat (limited to 'test/lisp/emacs-lisp/pp-tests.el')
0 files changed, 0 insertions, 0 deletions