From 35953f645afd083ad08769a8c36cf80085977c3e Mon Sep 17 00:00:00 2001 From: defanor Date: Sun, 29 Oct 2017 01:28:19 +0300 Subject: 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. --- Pancake.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Pancake.hs') 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=") -- cgit v1.2.3