* lisp/find-file.el (cc-other-file-alist): Add ".m" for ObjC.
authorIvan Andrus <darthandrus@gmail.com>
Mon, 6 May 2013 07:40:58 +0000 (00:40 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 6 May 2013 07:40:58 +0000 (00:40 -0700)
Fixes: debbugs:14339

lisp/ChangeLog
lisp/find-file.el

index d38ef5a..5abb495 100644 (file)
@@ -1,3 +1,7 @@
+2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
+
+       * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
+
 2013-05-06  Glenn Morris  <rgm@gnu.org>
 
        * w32-fns.el (w32-charset-info-alist): Declare.
index 4d1953b..367036d 100644 (file)
@@ -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"))