To disable the scrollbar in emacs I added (toggle-scroll-bar -1) to the my .emacs file and it works great when I run emacs outside of console mode. However when I run emacs in the terminal I get the error Symbol's function definition is void: toggle-scroll-bar
I'm running Emacs 23.3.1
heres the trace when I run --debug-init
1 Debugger entered--Lisp error: (void-function scroll-bar-mode)
2 (scroll-bar-mode -1)
3 eval-buffer(#<buffer *load*> nil "/Users/neil/.emacs.d/init.el" nil t) ;$
4 load-with-code-conversion("/Users/neil/.emacs.d/init.el" "/Users/neil/.ema$
5 load("/Users/neil/.emacs.d/init" t t)
6 #[nil "^H\205\264^@ \306=\203^Q^@\307^H\310Q\2027^@ \311=\2033^@\312\307$
7 command-line()
8 normal-top-level()
--debug-initoption to get a complete error backtrace. Try that and add that information to the question. Along with the Emacs versionM-x emacs-version. That chunk of code works just fine with Emacs 23.2. – Trey Jackson Jul 21 '11 at 21:48emacs -nw -q, and then in the scratch buffer, type(scroll-bar-mode -1)C-jand see if you get an error. That function is distributed with Emacs in thescroll-bar.elpackage, so I'm guessing your.emacshas something odd, or the Emacs wasn't installed properly. – Trey Jackson Jul 22 '11 at 16:25