summaryrefslogtreecommitdiff
path: root/lisp/find-file.el
diff options
context:
space:
mode:
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.