Make emacs the default image viewer
This commit is contained in:
parent
e34d6dd120
commit
044360e2b7
3 changed files with 31 additions and 0 deletions
6
emacs-open
Executable file
6
emacs-open
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
if [ -n "$*" ]; then
|
||||
exec /usr/bin/emacsclient --alternate-editor= --display="$DISPLAY" "$@"
|
||||
else
|
||||
exec emacsclient --alternate-editor= --create-frame
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue