diff src/xfns.c @ 104857:ea5c49fab49a

* 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.
author Karl Fogel <kfogel@red-bean.com>
date Sat, 05 Sep 2009 15:16:49 +0000
parents b3c991e42448
children d0a6d64c3cfc
line wrap: on
line diff