diff 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
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Sep 05 15:16:49 2009 +0000
+++ b/lisp/ChangeLog	Sat Sep 05 16:25:27 2009 +0000
@@ -1,3 +1,10 @@
+2009-09-05  Karl Fogel  <kfogel@red-bean.com>
+
+	* 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)
+
 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
 
 	* files.el (find-alternate-file): If the old buffer is modified