Questions tagged [defvar-local]
2 questions
22
votes
1 answer
What does `setq-local` do, and when should I use it?
I'm not quite clear on all the variations of buffer-local variables, even
after reading all the doc and a bunch of postings here on SX.
Here's a summary of my understandings:
(defvar foo ..) declares a dynamic variable for the file. But the
variableā¦

Kevin
- 1,308
- 8
- 20
1
vote
2 answers
How to remove cause of an error in loading .emacs: Symbol's function definition is void: defvar-local
When starting Emacs 23.3.1 under Ubuntu 12.0.4.5 LTS, I get the following message:
Warning (initialization): An error occurred while loading `/home/john/.emacs':
Symbol's function definition is void: defvar-local
When I restart with emacsā¦

John Burkett
- 11
- 2