summaryrefslogtreecommitdiff
path: root/Pancake.hs
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-10-29 01:28:19 +0300
committerdefanor <defanor@uberspace.net>2017-10-29 01:28:19 +0300
commit35953f645afd083ad08769a8c36cf80085977c3e (patch)
tree3459bf436765ac19e1b5a761a22cbfd7014e7ebd /Pancake.hs
parent3b63e2bb67b82b6317ac48d054c6766d3f9a5419 (diff)
Set the -n option for emacsclient by default
There's no need in waiting (it's rather harmful, actually), and it pollutes stdout -- so adding the `-n` (--no-wait) option.
Diffstat (limited to 'Pancake.hs')
-rw-r--r--Pancake.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Pancake.hs b/Pancake.hs
index 87d5700..3af6d7a 100644
--- a/Pancake.hs
+++ b/Pancake.hs
@@ -406,7 +406,7 @@ instance Default Config where
, ("gopher", "curl \"${URI}\"")]
, defaultCommand = "curl -4 -L \"${URI}\""
, externalViewers = M.fromList $
- map (flip (,) "emacsclient") ["hs", "cabal", "c", "h", "el", "scm", "idr"]
+ map (flip (,) "emacsclient -n") ["hs", "cabal", "c", "h", "el", "scm", "idr"]
++ map (flip (,) "xdg-open") ["svg", "png", "jpg", "jpeg", "gif", "pdf"]
, shortcuts = M.fromList
[ ("ddg", "https://duckduckgo.com/lite/?q=")