diff options
author | Peter Oliver <git@mavit.org.uk> | 2021-07-07 22:04:01 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-11 14:04:58 +0200 |
commit | 0a4b66f82752adeb808851a36eabd0554779b33c (patch) | |
tree | f68610a3a499ca72301b2820cced479919f3ea6b /etc/emacsclient-mail.desktop | |
parent | 8b645837d228102a04005b98d75a56f9b78cabae (diff) | |
download | emacs-0a4b66f82752adeb808851a36eabd0554779b33c.tar.gz |
Valid quoting in .desktop files
* etc/emacsclient.desktop, emacsclient-mail.desktop (Exec): Quote
according to the rules in the Freedesktop.org Desktop Entry
Specification.
Diffstat (limited to 'etc/emacsclient-mail.desktop')
-rw-r--r-- | etc/emacsclient-mail.desktop | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/emacsclient-mail.desktop b/etc/emacsclient-mail.desktop index 8d51dcdd2fc..f96e8a3c97f 100644 --- a/etc/emacsclient-mail.desktop +++ b/etc/emacsclient-mail.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Categories=Network;Email; Comment=GNU Emacs is an extensible, customizable text editor - and more -Exec=sh -c 'exec emacsclient --alternate-editor= --display="$DISPLAY" --eval "(message-mailto \"%u\")"' +Exec=sh -c "exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\\\(message-mailto\\\\ \\\\\\"%u\\\\\\"\\\\)" Icon=emacs Name=Emacs (Mail, Client) MimeType=x-scheme-handler/mailto; @@ -12,7 +12,7 @@ Actions=new-window;new-instance; [Desktop Action new-window] Name=New Window -Exec=emacsclient --alternate-editor= --create-frame --eval '(message-mailto "%u")' +Exec=emacsclient --alternate-editor= --create-frame --eval "(message-mailto \\"%u\\")" [Desktop Action new-instance] Name=New Instance |