summaryrefslogtreecommitdiff
path: root/lisp/find-file.el
diff options
context:
space:
mode:
authorIvan Andrus <darthandrus@gmail.com>2013-05-06 00:40:58 -0700
committerGlenn Morris <rgm@gnu.org>2013-05-06 00:40:58 -0700
commitd491e7a83f5fc1127483a42a1d2b6a0474c8b222 (patch)
tree1859adb5cd18a4e6e7b56b5a0bb3a3649d1843ee /lisp/find-file.el
parent7cc3af27a1bd8507ee5202714c27070f969cb5d9 (diff)
downloademacs-d491e7a83f5fc1127483a42a1d2b6a0474c8b222.tar.gz
* lisp/find-file.el (cc-other-file-alist): Add ".m" for ObjC.
Fixes: debbugs:14339
Diffstat (limited to 'lisp/find-file.el')
-rw-r--r--lisp/find-file.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/find-file.el b/lisp/find-file.el
index 4d1953b3c1f..367036d3753 100644
--- a/lisp/find-file.el
+++ b/lisp/find-file.el
@@ -245,7 +245,8 @@ the preceding slash. The star represents all the subdirectories except
("\\.hh\\'" (".cc" ".C"))
("\\.c\\'" (".h"))
- ("\\.h\\'" (".c" ".cc" ".C" ".CC" ".cxx" ".cpp"))
+ ("\\.m\\'" (".h"))
+ ("\\.h\\'" (".c" ".cc" ".C" ".CC" ".cxx" ".cpp" ".m"))
("\\.C\\'" (".H" ".hh" ".h"))
("\\.H\\'" (".C" ".CC"))