aboutsummaryrefslogtreecommitdiff
path: root/source/_posts/2014-12-14-speeding-up-emacs-with-emacsclient.md
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2014-12-14 11:26:35 -0800
committerZhiming Wang <zmwangx@gmail.com>2014-12-22 18:01:03 -0800
commit1405c9fbe482ec307fbb678d12278977196452bd (patch)
tree43e2e2db699466c8bed66364ae4a701367704bd2 /source/_posts/2014-12-14-speeding-up-emacs-with-emacsclient.md
parent665f1aa676b50293487c80e05587af15fee00ca2 (diff)
downloadmy_new_personal_website-1405c9fbe482ec307fbb678d12278977196452bd.tar.xz
my_new_personal_website-1405c9fbe482ec307fbb678d12278977196452bd.zip
remove trailing 2>/dev/null
Diffstat (limited to 'source/_posts/2014-12-14-speeding-up-emacs-with-emacsclient.md')
-rw-r--r--source/_posts/2014-12-14-speeding-up-emacs-with-emacsclient.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/_posts/2014-12-14-speeding-up-emacs-with-emacsclient.md b/source/_posts/2014-12-14-speeding-up-emacs-with-emacsclient.md
index e1d19dc0..f82f63cf 100644
--- a/source/_posts/2014-12-14-speeding-up-emacs-with-emacsclient.md
+++ b/source/_posts/2014-12-14-speeding-up-emacs-with-emacsclient.md
@@ -22,7 +22,7 @@ else
read -p 'filename: ' file
done
fi
-emacsclient -cqta= "${file}" 2>/dev/null
+emacsclient -cqta= "${file}"
```
Note that using `emacsclient` has the additional benefit that the same buffer is simultaneously updated accross different ttys (See screenshot, where I opened the current post in two different ttys). This way, you won't face the nasty "file changed on disk" problem when you accidentally edited the same file in another tty session.