From f115f4124c708fe0cbccf6ec54d3e9110727d2c7 Mon Sep 17 00:00:00 2001 From: Cairn Date: Thu, 1 Sep 2022 22:22:16 -0400 Subject: [PATCH] emacs: add `--script` example (#8440) --- pages/common/emacs.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/emacs.md b/pages/common/emacs.md index efd56f7f27..77bfe12ea8 100644 --- a/pages/common/emacs.md +++ b/pages/common/emacs.md @@ -12,6 +12,10 @@ `emacs +{{line_number}} {{path/to/file}}` +- Run an Emacs Lisp file as a script: + +`emacs --script {{path/to/file.el}}` + - Start Emacs in console mode (without an X window): `emacs --no-window-system`