]> git.eshelyaron.com Git - emacs.git/commit
Avoid segfaults in compute_motion
authorEli Zaretskii <eliz@gnu.org>
Tue, 26 Jul 2016 15:27:21 +0000 (18:27 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 26 Jul 2016 15:27:21 +0000 (18:27 +0300)
commitc54238db6aabeb5ebc74ee60af65a8af27aa6426
tree7c4657886ba0f03c95f4c3d54727c43b089d240e
parentac30157b14c07626f76530e47949db053a68875e
Avoid segfaults in compute_motion

* src/indent.c (compute_motion): Don't turn on and don't use the
width cache unless the buffer's width-table is non-nil.  This
avoids segfaults because code that uses the width cache assumes
the width-table exists.  (Bug#24064)
src/indent.c