]> code.delx.au - gnu-emacs/commit
Allow ff-find-other-file (etc) to work with indirect clone buffers
authorDima Kogan <dima@secretsauce.net>
Wed, 24 Feb 2016 03:01:50 +0000 (14:01 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 24 Feb 2016 03:01:50 +0000 (14:01 +1100)
commit70c3c79ec000bdf43d8558e0ee0fd8d8b8547245
tree6a46cc557d08bb99c034e95962c391d4e9a8e070
parentfddbd8ca227d4dbd940e6dd72fecb35e26c3c27b
Allow ff-find-other-file (etc) to work with indirect clone buffers

* lisp/find-file.el (ff-buffer-file-name): New function to
allow the feature to work with indirect buffers, too
(bug#16904).
(ff-find-the-other-file): Use it.
(ff-other-file-name): Ditto.
(ff-get-file-name): Ditto.
lisp/find-file.el