]> git.eshelyaron.com Git - emacs.git/commitdiff
Add CFBundleURLTypes key and
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 10 Dec 2005 01:48:39 +0000 (01:48 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 10 Dec 2005 01:48:39 +0000 (01:48 +0000)
data.  Make NSServices open-selection the first entry.

mac/Emacs.app/Contents/Info.plist

index 176dbf812764a7d75ab2193e8dad0c6d522ba2bd..d03123cc3cd40cdc86a0f42b11bbaa8bf83119b0 100644 (file)
        <string>EMAx</string>
        <key>CFBundleVersion</key>
        <string>1.1</string>
-       <key>NSServices</key>
+       <key>CFBundleURLTypes</key>
+       <array>
+               <dict>
+                       <key>CFBundleURLName</key>
+                       <string>Email Address URL</string>
+                       <key>CFBundleURLSchemes</key>
+                       <array>
+                               <string>mailto</string>
+                       </array>
+               </dict>
+       </array>
+       <key>NSServices</key>
        <array>
                <dict>
                        <key>NSKeyEquivalent</key>
                        <key>NSMenuItem</key>
                        <dict>
                                <key>default</key>
-                               <string>Emacs/Open Selected File</string>
+                               <string>Emacs/New Buffer Containing Selection</string>
                        </dict>
                        <key>NSMessage</key>
-                       <string>open-file</string>
+                       <string>open-selection</string>
                        <key>NSPortName</key>
                        <string>Emacs</string>
                        <key>NSReturnTypes</key>
                        <key>NSMenuItem</key>
                        <dict>
                                <key>default</key>
-                               <string>Emacs/New Buffer Containing Selection</string>
+                               <string>Emacs/Open Selected File</string>
                        </dict>
                        <key>NSMessage</key>
-                       <string>open-selection</string>
+                       <string>open-file</string>
                        <key>NSPortName</key>
                        <string>Emacs</string>
                        <key>NSReturnTypes</key>