summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easy-mmode.el
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2017-08-06 13:05:16 +0900
committerTino Calancha <tino.calancha@gmail.com>2017-08-06 13:09:31 +0900
commit7c3593f81724d0c7a2ee2f90797db0e705adc859 (patch)
tree1c87dc10cc0ca3fd1cd7774bbf181eef782d1f8c /lisp/emacs-lisp/easy-mmode.el
parent9b463fa8648b7baed95a44f4317cb7402fd8bf1c (diff)
downloademacs-7c3593f81724d0c7a2ee2f90797db0e705adc859.tar.gz
emacs-7c3593f81724d0c7a2ee2f90797db0e705adc859.tar.bz2
emacs-7c3593f81724d0c7a2ee2f90797db0e705adc859.zip
dired-revert: save line numbers instead of positions
Positions might change if the length of one dired header line changes; this happen, for instance, if we add new files. Instead, line numbers are invariant under shrinks/enlargements of the file header. https://lists.gnu.org/archive/html/emacs-devel/2017-07/msg01092.html * lisp/dired.el (dired-save-positions): Save the line numbers at point. (dired-restore-positions): Use forward-line to restore the original position (Bug#27968). * test/lisp/dired-tests.el (dired-test-bug27968): Add test.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
0 files changed, 0 insertions, 0 deletions