comparison lisp/ChangeLog @ 104858:53d8d2c49942

* lisp/files.el (find-alternate-file): Run `kill-buffer-hook' manually before killing the old buffer, since by the time `kill-buffer' is run so many buffer variables have been set to nil that it may not behave as expected. (Bug#4061)
author Karl Fogel <kfogel@red-bean.com>
date Sat, 05 Sep 2009 16:25:27 +0000
parents ea5c49fab49a
children ea878f8b6510
comparison
equal deleted inserted replaced
104857:ea5c49fab49a 104858:53d8d2c49942
1 2009-09-05 Karl Fogel <kfogel@red-bean.com>
2
3 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
4 before killing the old buffer, since by the time `kill-buffer' is
5 run so many buffer variables have been set to nil that it may not
6 behave as expected. (Bug#4061)
7
1 2009-09-05 Karl Fogel <kfogel@red-bean.com> 8 2009-09-05 Karl Fogel <kfogel@red-bean.com>
2 9
3 * files.el (find-alternate-file): If the old buffer is modified 10 * files.el (find-alternate-file): If the old buffer is modified
4 and visiting a file, behave similarly to `kill-buffer' when 11 and visiting a file, behave similarly to `kill-buffer' when
5 killing it, thus reverting to the pre-1.878 behavior; see 12 killing it, thus reverting to the pre-1.878 behavior; see