From: Ivan Andrus Date: Mon, 6 May 2013 07:40:58 +0000 (-0700) Subject: * lisp/find-file.el (cc-other-file-alist): Add ".m" for ObjC. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~286 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d491e7a83f5fc1127483a42a1d2b6a0474c8b222;p=emacs.git * lisp/find-file.el (cc-other-file-alist): Add ".m" for ObjC. Fixes: debbugs:14339 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d38ef5a541e..5abb4954a97 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-05-06 Ivan Andrus + + * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339) + 2013-05-06 Glenn Morris * w32-fns.el (w32-charset-info-alist): Declare. 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"))