all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] nextstep: Emacs can be used to edit PDF files
@ 2021-11-10  8:38 David Edmondson
  2021-11-19  0:15 ` Daniel Martín
  0 siblings, 1 reply; 11+ messages in thread
From: David Edmondson @ 2021-11-10  8:38 UTC (permalink / raw)
  To: emacs-devel; +Cc: David Edmondson

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)




^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-11-24 21:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-10  8:38 [PATCH] nextstep: Emacs can be used to edit PDF files David Edmondson
2021-11-19  0:15 ` Daniel Martín
2021-11-19  3:22   ` Stefan Monnier
2021-11-19  3:42     ` Stefan Kangas
2021-11-19 18:03       ` Stefan Monnier
2021-11-20  3:55         ` Stefan Kangas
2021-11-20 13:06           ` Stefan Monnier
2021-11-20 19:51             ` Alan Third
2021-11-23 10:09   ` David Edmondson
2021-11-23 17:35     ` Tomas Hlavaty
2021-11-24 21:10       ` James Cloos

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.