From: Ivan Andrus Date: Fri, 12 Dec 2014 05:18:20 +0000 (-0700) Subject: Expose more file types to OS X that Emacs understands. X-Git-Tag: emacs-25.0.90~1471 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea1a30223e14ff13e19d15ab8ac17d7aef5242f1;p=emacs.git Expose more file types to OS X that Emacs understands. * Cocoa/Emacs.base/Contents/Info.plist: Add editor role for sty, dtx, json, and org files. Export UTIs for el, elc, and org files. --- diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.plist.in index 8c9dc213be7..09e953c4174 100644 --- a/nextstep/templates/Info.plist.in +++ b/nextstep/templates/Info.plist.in @@ -452,6 +452,8 @@ along with GNU Emacs. If not, see . tex ltx ctx + dtx + sty latex texi @@ -462,6 +464,30 @@ along with GNU Emacs. If not, see . CFBundleTypeRole Editor + + CFBundleTypeExtensions + + org + + CFBundleTypeIconFile + document.icns + CFBundleTypeName + Org document + CFBundleTypeRole + Editor + + + CFBundleTypeExtensions + + json + + CFBundleTypeIconFile + document.icns + CFBundleTypeName + JSON document + CFBundleTypeRole + Editor + CFBundleTypeExtensions @@ -478,6 +504,68 @@ along with GNU Emacs. If not, see . + + UTExportedTypeDeclarations + + + UTTypeConformsTo + + public.source-code + + UTTypeDescription + Emacs Lisp Source File + UTTypeIdentifier + org.gnu.emacs-lisp + UTTypeReferenceURL + https://www.gnu.org/software/emacs/manual/html_node/elisp/ + UTTypeTagSpecification + + public.filename-extension + + el + + + + + UTTypeConformsTo + + public.content + + UTTypeDescription + Emacs Lisp Object File + UTTypeIdentifier + org.gnu.emacs-lisp-object + UTTypeReferenceURL + https://www.gnu.org/software/emacs/manual/html_node/elisp/ + UTTypeTagSpecification + + public.filename-extension + + elc + + + + + UTTypeConformsTo + + public.plain-text + + UTTypeDescription + Org document + UTTypeIdentifier + org.orgmode.org + UTTypeReferenceURL + http://orgmode.org + UTTypeTagSpecification + + public.filename-extension + + org + + + + + NSServices