FG
💻 Software

How to prevent the "Symbol's function definition is void: error" when running emacs in the console?

Fresh5 days ago
Mar 15, 202616526 views
Confidence Score0%
0%

Problem

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 tra…

Error Output

1 Debugger entered--Lisp error: (void-function scroll-bar-mode)                
    2   (scroll-bar-mode -1)                                         …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to prevent the "Symbol's function definition is void: error" when running emacs in the console?

Low Risk

I use this to turn off the scrollbar and toolbar when in a graphical display. FWIW. The emacs manual discourage the use of as a predicate. Do not use window-system and initial-window-system as predicates or boolean flag variables, if you want to wri…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment