aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch-mua.el
diff options
context:
space:
mode:
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-05-25 03:02:43 +0400
committerCarl Worth <cworth@cworth.org>2011-05-24 16:33:09 -0700
commitb6862c7eb9bfb00183e568b40d77ea25ade21db2 (patch)
tree3e4ca4c220bbbc1a29808fe35dd17ad693c90469 /emacs/notmuch-mua.el
parent31b7c04ae1f239c463bc6dcb838acbe4d94c3e2e (diff)
Carefully manage save/restore of point in `notmuch-wash-toggle-invisible-action'.
Before the change, save-excursion was used to save the point. But the marker saved by save-excursion was inside a region that was deleted, so that approach is unreliable, (leading to point jumping to a new position past the button). This patch instead saves point in an integer variable, and when restoring, carefully avoids moving point past the button, (in case the new button label is shorter than the old button label).
Diffstat (limited to 'emacs/notmuch-mua.el')
0 files changed, 0 insertions, 0 deletions