diff options
author | Ihor Radchenko <yantar92@posteo.net> | 2023-08-23 12:24:18 +0300 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2023-09-18 12:54:22 +0200 |
commit | 1500e4b4329d4d3d0141263230d74e1b314373b1 (patch) | |
tree | 110b2c111b62947d8594867d4e2e502fb753d3b7 /etc | |
parent | 6bc3800000c6d4ed87330df5eee0958e29aa6521 (diff) | |
download | emacs-1500e4b4329d4d3d0141263230d74e1b314373b1.tar.gz emacs-1500e4b4329d4d3d0141263230d74e1b314373b1.tar.bz2 emacs-1500e4b4329d4d3d0141263230d74e1b314373b1.zip |
Make emacsclient handle org-protocol:// links
Org mode provides a way to quickly capture bookmarks, notes, and links
using emacsclient:
emacsclient "org-protocol://store-link?url=URL&title=TITLE"
* etc/emacsclient.desktop: Make Emacs the default application for
org-protocol. (Bug#65469)
(cherry picked from commit 05a7c91b91c02c34ec6527119a465e5408dea2b1)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/emacsclient.desktop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/emacsclient.desktop b/etc/emacsclient.desktop index a9f840c7033..4395d3b02bc 100644 --- a/etc/emacsclient.desktop +++ b/etc/emacsclient.desktop @@ -2,7 +2,7 @@ Name=Emacs (Client) GenericName=Text Editor Comment=Edit text -MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; +MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;x-scheme-handler/org-protocol; Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F Icon=emacs Type=Application |