* lisp/files.el (find-alternate-file): Run `kill-buffer-hook' manually
authorKarl Fogel <kfogel@red-bean.com>
Sat, 5 Sep 2009 16:25:27 +0000 (16:25 +0000)
committerKarl Fogel <kfogel@red-bean.com>
Sat, 5 Sep 2009 16:25:27 +0000 (16:25 +0000)
commit049a231b91bfb3b6f59b478d512829d35ad701b9
tree04888c4d79cb36a82000f6cbb3ebd54e07c9eabc
parentef7ef2a01693469788f72fdaa554b88f1b961e0f
* 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)
lisp/ChangeLog
lisp/files.el