about summary refs log tree commit diff
path: root/bins
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-06-18T17·23-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-06-18T17·23-0400
commit1ccaee9fa9e26898c62d9f9ac0eb208855a86330 (patch)
treef297d27079b5da8396c35a2877e2100e185e0de4 /bins
parent6d13881ec2b28b899a9aea45b2ffd520235cf2ed (diff)
Adds finer-grain control over Linum Mode
Diffstat (limited to 'bins')
-rwxr-xr-xbins/bin/edit-file-in-emacs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bins/bin/edit-file-in-emacs.sh b/bins/bin/edit-file-in-emacs.sh
index 0661da7335fe..650ccac12011 100755
--- a/bins/bin/edit-file-in-emacs.sh
+++ b/bins/bin/edit-file-in-emacs.sh
@@ -1,7 +1,7 @@
 #/usr/bin/env zsh
 
-file=$(mktemp -t "$USER-"XXXXXXXX.emacs-pager) || exit 127
-trap 'rm -f "$file"' EXIT
-trap 'exit 255' HUP INT QUIT TERM
+file=$(mktemp -t "$USER-XXXXXXXX.emacs-pager") || exit 127
+trap "rm -f $file" EXIT
+trap "exit 255" HUP INT QUIT TERM
 cat "$@" >"$file"
 emacsclient -e "(wc/edit-file-in-emacs \"$file\")"