about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-09-13 16:39:31 +0200
committerbptato <nincsnevem662@gmail.com>2023-09-13 16:39:31 +0200
commiteb83e61ca783a72c4f4fb954a8e9d60014007c98 (patch)
tree9c8943149b2f668bc012fd8f0ead720f5eb00d46 /res
parentae875c049bb6cd6e41bebaf04d242b6267465453 (diff)
downloadchawan-eb83e61ca783a72c4f4fb954a8e9d60014007c98.tar.gz
config: fix invalid use of extern
Diffstat (limited to 'res')
-rw-r--r--res/config.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml
index 4e56761a..eb2c31b4 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -132,7 +132,8 @@ config.search.wrap = !config.search.wrap;
 pager.alert("Wrap search " + (config.search.wrap ? "on" : "off"));
 '''
 M-y = '''
-pager.extern('printf \'%s\\n\' "$CHA_URL" | xsel -bi', "no-suspend-setenv") ?
+pager.extern('printf \'%s\\n\' "$CHA_URL" | xsel -bi',
+		{suspend: false, setenv: true}) ?
 	pager.alert("Copied URL to clipboard.") :
 	pager.alert("Failed to copy URL to clipboard. (Is xsel installed?)");
 '''