emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Markdown for Emacs-app


From: Travis Jeffery
Subject: Markdown for Emacs-app
Date: Tue, 21 Apr 2009 14:42:51 -0400

Hello,

Here is a patch to add better support for markdown files on the Mac for Emacs.app:

diff --git a/nextstep/Cocoa/Emacs.base/Contents/Info.plist b/nextstep/ Cocoa/Emacs.base/Contents/Info.plist
index d1f3ecd..73890d9 100644
--- a/nextstep/Cocoa/Emacs.base/Contents/Info.plist
+++ b/nextstep/Cocoa/Emacs.base/Contents/Info.plist
@@ -67,6 +67,22 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/ >.
                <dict>
                        <key>CFBundleTypeExtensions</key>
                        <array>
+                               <string>mkd</string>
+                               <string>md</string>
+                               <string>mdown</string>
+                               <string>markdown</string>
+                               <string>markdn</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>document.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Markdown document</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Editor</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
                                <string>css</string>
                        </array>
                        <key>CFBundleTypeIconFile</key>

Attachment: emacs_markdown.diff
Description: Binary data



reply via email to

[Prev in Thread] Current Thread [Next in Thread]