From f08dbe7da19274c6ac1fbdbe35767f95f34fadea Mon Sep 17 00:00:00 2001 From: vritser <1429594204@qq.com> Date: Sat, 18 Jul 2020 04:17:43 +0800 Subject: [PATCH] emacsclient: add -c -e example (#4182) --- pages/common/emacsclient.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/emacsclient.md b/pages/common/emacsclient.md index b25677f8cf..c6e7c9ba6d 100644 --- a/pages/common/emacsclient.md +++ b/pages/common/emacsclient.md @@ -14,3 +14,11 @@ - Open a file in an existing emacs frame and return immediately: `emacsclient -n {{filename}}` + +- Open file in a new emacs frame: + +`emacsclient -c {{filename}}` + +- Eval command in a new emacs frame: + +`emacsclient -c -e '({{command}})'`