custom-set-variables add blank space on subsequent uses

时间:2015-06-15 15:01:12

标签: emacs elisp

I followed the emacs haskell tutorial, and couldn't understand some of its language regarding the use of custom-set-variables in the text quoted below. It seems that custom-set-variables should be used in one way on first usage, and another way (with added blank space) on subsequent uses.

My questions are:

What exactly should the second usage be?

Why is it that custom-set-variables should be used differently on first and subsequent usage?

Thanks

-- quoted code --

To enable it, add

(custom-set-variables '(haskell-process-type 'cabal-repl))

to your personal configuration file. However, if your personal configuration file already has a custom-set-variables command, you'll need to instead add a blank space and then '(haskell-process-type 'cabal-repl) before its closing parenthesis.

1 个答案:

答案 0 :(得分:2)

这只是说您可以在custom-set-variables的一次调用中包含多个自定义变量。所以,如果你已经有了

(custom-set-variables
  '(some-variable 'some-value))

你可以这样添加:

(custom-set-variables
  '(some-variable 'some-value)
  '(haskell-process-type 'cabal-repl))