* lisp/files.el (find-alternate-file): If the old buffer is modified
authorKarl Fogel <kfogel@red-bean.com>
Sat, 5 Sep 2009 15:16:49 +0000 (15:16 +0000)
committerKarl Fogel <kfogel@red-bean.com>
Sat, 5 Sep 2009 15:16:49 +0000 (15:16 +0000)
commitef7ef2a01693469788f72fdaa554b88f1b961e0f
tree9677e0a4703913860f617bf8190cc98759c23aea
parent21ee034d123f4e6918cd4b50a7df8f8d8551c661
* lisp/files.el (find-alternate-file): If the old buffer is modified
  and visiting a file, behave similarly to `kill-buffer' when killing
  it, thus reverting to the pre-1.878 behavior; see
  http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
  for discussion.  Also, consult `buffer-file-name' as a variable not
  as a function, for consistency with the rest of the code.
lisp/ChangeLog
lisp/files.el