• Alan Third's avatar
    Fix dabbrev-completion (bug#17899) · 33a37360
    Alan Third authored
    * 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.
    33a37360