summaryrefslogtreecommitdiff
path: root/lisp/find-file.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-10-14 01:25:16 +0000
committerRichard M. Stallman <rms@gnu.org>2002-10-14 01:25:16 +0000
commitf7583fb625909cb0b23bd1267492d2df2459dd88 (patch)
tree2c523112400b1c7179ae2c01634bad41e48e75bc /lisp/find-file.el
parent517e7945c77222e5fc396b763d62105ed375c583 (diff)
downloademacs-f7583fb625909cb0b23bd1267492d2df2459dd88.tar.gz
(ff-related-file-alist): New alias.
(ff-find-related-file): New alias.
Diffstat (limited to 'lisp/find-file.el')
-rw-r--r--lisp/find-file.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/find-file.el b/lisp/find-file.el
index 8d8a282501d..79ff1a6ab47 100644
--- a/lisp/find-file.el
+++ b/lisp/find-file.el
@@ -202,6 +202,7 @@ Specifies how to recognise special constructs such as include files
etc. and an associated method for extracting the filename from that
construct.")
+(defvaralias 'ff-related-file-alist 'ff-other-file-alist)
(defcustom ff-other-file-alist 'cc-other-file-alist
"*Alist of extensions to find given the current file's extension.
@@ -311,6 +312,9 @@ If optional IN-OTHER-WINDOW is non-nil, find the file in another window."
(ff-find-the-other-file in-other-window)
(setq ff-ignore-include ignore)))
+;;;###
+(defalias 'ff-find-related-file 'ff-find-other-file)
+
;;;###autoload
(defun ff-find-other-file (&optional in-other-window ignore-include)
"Find the header or source file corresponding to this file.