]> git.eshelyaron.com Git - emacs.git/commit
* allout-widgets.el (allout-widgets-post-command-business): Stop decorating
authorKen Manheimer <ken.manheimer@gmail.com>
Sun, 26 Jun 2011 16:47:39 +0000 (12:47 -0400)
committerKen Manheimer <ken.manheimer@gmail.com>
Sun, 26 Jun 2011 16:47:39 +0000 (12:47 -0400)
commit6b5ccddf1c9e78417aacaf375a7e96e64a60f6d3
tree5ce80717e70ed6cfe748e6a8e1c65a37873371a9
parent355f2e07082d7fc4d30cd0c1fab444799db6d6a7
* allout-widgets.el (allout-widgets-post-command-business): Stop decorating
intermediate isearch matches.  They're not being undecorated when an
isearch is continued past, and isearch automatically collapses them.  This
leads to "widget leaks", where decorated items accumulate in collapsed
areas.  Lines with lots of hidden widgets can slow down cursor travel,
substantially.  Too much complicated machinery would be needed to ensure
undecoration, so we're doing without this nicety.

(allout-widgets-tally-string): Don't try to do a hash-table-count of
allout-widgets-tally when it's nil.  This eliminates spurious "Error during
redisplay: (wrong-type-argument hash-table-p nil)" warnings in *Messages*
when allout-widgets-maintain-tally is t.
lisp/ChangeLog
lisp/allout-widgets.el