Emacs - Error when calling (server-start)

前端 未结 11 919
走了就别回头了
走了就别回头了 2020-11-30 18:04

I am currently using GNU Emacs 23.0.93.1 in Windows Vista SP1. In my .emacs file I make a call to (server-start) and that is causing an error with the message <

11条回答
  •  北海茫月
    2020-11-30 18:51

    To avoid hacking in the lisp directory, you can just add the following to your .emacs:

    (require 'server) (and (>= emacs-major-version 23) (defun server-ensure-safe-dir (dir) "Noop" t))

提交回复
热议问题