[Aquamacs-devel] Aquamacs 1.9/Objective-C
Kevin Walzer
kw at codebykevin.com
Sat Oct 10 22:58:43 UTC 2009
On 10/10/09 5:33 PM, David Reitter wrote:
> On Oct 10, 2009, at 10:04 AM, Kevin Walzer wrote:
>
>> <tkmacicon.m>
>
> OK, the code below fixes this one.
>
> Also.. does matlab use /* these comments */ ?
> Otherwise they'd be a distinguishing feature as well.
>
> - D
>
>
>
>
>
> (defun objc-mode-buffer-check ()
> (if (string-match "\\.m$" buffer-file-name)
> (save-restriction
> (narrow-to-region (point-min)
> (min (point-max)
> (+ (point-min) magic-mode-regexp-match-limit)))
> (looking-at "\\(.\\|\n\\)*#\\(include\\|define\\|import\\)"))))
David,
Forgive my obtuseness, but where should this patch go? I did not see a
magic-mode-alist file anywhere in site-lisp.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
More information about the Aquamacs-devel
mailing list