Passing arguments to elisp script. Again

后端 未结 4 2001
自闭症患者
自闭症患者 2020-12-21 08:31

How can I pass arguments -q -d -Q -t -L -fg -bg --color etc?

Doing something like emacs --script -Q definetely wil

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-21 08:49

    If you're typing the command manually at the shell there shouldn't be a problem (excepting that in your example your script name is -Q), so I assume you're trying to create an executable script with emacs as the shebang command?

    This is the best solution I've seen for creating portable executable elisp scripts which include additional arguments:

    Emacs shell scripts - how to put initial options into the script?

提交回复
热议问题