]> git.eshelyaron.com Git - emacs.git/commit
Avoid rare errors in dabbrev.el
authorEli Zaretskii <eliz@gnu.org>
Sat, 25 May 2024 07:33:07 +0000 (10:33 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 26 May 2024 05:57:03 +0000 (07:57 +0200)
commit5269c89cceb330f26b753853d2822b6f9752cd72
treea16e1cdb7abb8d284a20d765e9d033f4c520fd96
parent090949703ed73210d1c6d59c7329f802b41e37e9
Avoid rare errors in dabbrev.el

* lisp/dabbrev.el (dabbrev-expand, dabbrev--find-expansion): Make
sure 'dabbrev--last-buffer' is a live buffer before using its
value.  (Bug#70824)

(cherry picked from commit 5f3f461cd0c76b1b171bb9eda3db1f561bc22b80)
lisp/dabbrev.el