emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] nextstep: Emacs can be used to edit PDF files


From: David Edmondson
Subject: [PATCH] nextstep: Emacs can be used to edit PDF files
Date: Wed, 10 Nov 2021 08:38:18 +0000

Add editor role for PDF files, allowing them to be opened in Emacs via
the Finder.
---
 nextstep/templates/Info.plist.in | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.plist.in
index f9f0ec0857..bd86a75e79 100644
--- a/nextstep/templates/Info.plist.in
+++ b/nextstep/templates/Info.plist.in
@@ -488,6 +488,18 @@ along with GNU Emacs.  If not, see 
<https://www.gnu.org/licenses/>.
                        <key>CFBundleTypeRole</key>
                        <string>Editor</string>
                </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>pdf</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>document.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>PDF document</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Editor</string>
+               </dict>
                <dict>
                        <key>CFBundleTypeExtensions</key>
                        <array>
-- 
2.30.1 (Apple Git-130)




reply via email to

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