Skip to main content
2 of 2
edited tags
Drew
  • 80.9k
  • 10
  • 125
  • 265

debugging some elisp -- "end of file during parsing error" in init.el

After a long debugging of my init.el file, it looks like the first line of the following elisp-code, i.e (custom-set-variablesis provoking an 'End of file during parsing' error) which I absolutely don't understand. If I comment this line, all is fine. I did not even enter this code myself, as it has been automatically added in init.el from the customize menu.

(custom-set-variables '(global-hl-line-mode t) '(ido-mode (quote buffer) nil (ido)) '(menu-bar-mode nil) (when (display-graphic-p) (tool-bar-mode -1) (scroll-bar-mode -1)) 

Here is the complete error message:

Warning (initialization): An error occurred while loading `/Users/me/.emacs.d/init.el':

End of file during parsing: /Users/me/.emacs.d/init.el

Any help would be appreciated ! Thanks

loukios
  • 865
  • 1
  • 11
  • 19