]> git.eshelyaron.com Git - emacs.git/commit
Fix dabbrev-completion (bug#17899)
authorAlan Third <alan@idiocy.org>
Thu, 5 Dec 2019 13:14:00 +0000 (13:14 +0000)
committerAlan Third <alan@idiocy.org>
Tue, 10 Dec 2019 20:38:21 +0000 (20:38 +0000)
commit33a37360defdc08a5d8eeabffef96f8571d3b608
tree6fe807ff4f3c2cdc644d836f58df228145606b36
parentfbf9fea4fdad467429058077b8087dbd0758b964
Fix dabbrev-completion (bug#17899)

* lisp/dabbrev.el (dabbrev--check-all-buffers): Add new variable.
(dabbrev-completion): Lexical scoping means we can't use let to
override global variables, so use setq.
(dabbrev--reset-global-variables): Reset new variable.
(dabbrev--make-friend-buffer-list): Use new variable.
* test/lisp/dabbrev-tests.el (dabbrev-completion-test):
(dabbrev-completion-test-with-argument): New tests.
lisp/dabbrev.el
test/lisp/dabbrev-tests.el