unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14339: 24.3.50; [patch] ff-find-other-file doesn't understand Objective-C
@ 2013-05-03  4:29 Ivan Andrus
  2013-05-06  7:41 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan Andrus @ 2013-05-03  4:29 UTC (permalink / raw)
  To: 14339

Below is a simple patch to support Objective-C files (.m extension) for
ff-find-other-file and a sample ChangeLog entry.  There are Obj-C files
in the Emacs distribution and I think this would be useful to several
people.

I have copyright assignment papers on file.

Thanks,
Ivan


2013-05-  Ivan Andrus  <darthandrus@gmail.com>

	* lisp/find-file.el (cc-other-file-alist): Add .m extension for
      Objective-C files.



=== modified file 'lisp/find-file.el'
*** lisp/find-file.el	2013-01-01 09:11:05 +0000
--- lisp/find-file.el	2013-05-03 04:17:58 +0000
*************** the preceding slash.  The star represent
*** 245,251 ****
      ("\\.hh\\'"  (".cc" ".C"))

      ("\\.c\\'"   (".h"))
!     ("\\.h\\'"   (".c" ".cc" ".C" ".CC" ".cxx" ".cpp"))

      ("\\.C\\'"   (".H"  ".hh" ".h"))
      ("\\.H\\'"   (".C"  ".CC"))
--- 245,252 ----
      ("\\.hh\\'"  (".cc" ".C"))

      ("\\.c\\'"   (".h"))
!     ("\\.m\\'"   (".h"))
!     ("\\.h\\'"   (".c" ".cc" ".C" ".CC" ".cxx" ".cpp" ".m"))

      ("\\.C\\'"   (".H"  ".hh" ".h"))
      ("\\.H\\'"   (".C"  ".CC"))





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14339: 24.3.50; [patch] ff-find-other-file doesn't understand Objective-C
  2013-05-03  4:29 bug#14339: 24.3.50; [patch] ff-find-other-file doesn't understand Objective-C Ivan Andrus
@ 2013-05-06  7:41 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2013-05-06  7:41 UTC (permalink / raw)
  To: 14339-done

Version: 24.4

Thanks; applied.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-06  7:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-03  4:29 bug#14339: 24.3.50; [patch] ff-find-other-file doesn't understand Objective-C Ivan Andrus
2013-05-06  7:41 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).