Skip to content

Instantly share code, notes, and snippets.

@munepi
Created April 11, 2013 14:50
Show Gist options
  • Save munepi/5363999 to your computer and use it in GitHub Desktop.
Save munepi/5363999 to your computer and use it in GitHub Desktop.
a patch to add some TeX related extensions for emacs-24.3/nextstep/templates/Info.plist.in
diff -u emacs-24.3/nextstep/templates/Info.plist.in.orig emacs-24.3/nextstep/templates/Info.plist.in
--- emacs-24.3/nextstep/templates/Info.plist.in.orig 2013-01-02 05:37:17.000000000 +0900
+++ emacs-24.3/nextstep/templates/Info.plist.in 2013-04-10 12:30:09.000000000 +0900
@@ -449,11 +449,30 @@
<dict>
<key>CFBundleTypeExtensions</key>
<array>
+ <string>bst</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string>document.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>BibTeX style file</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
<string>tex</string>
<string>ltx</string>
<string>ctx</string>
<string>latex</string>
<string>texi</string>
+ <string>sty</string>
+ <string>cls</string>
+ <string>clo</string>
+ <string>fd</string>
+ <string>ind</string>
+ <string>idx</string>
+ <string>bbl</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>document.icns</string>
Diff finished. Wed Apr 10 12:30:41 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment