I've recently been trying to convert my startup files to using use-package
, so I've been editing my .emacs
file a lot. I seem to have myself in a state where some common self-insert-command
operations are failing. For instance, I'm editing a buffer in PHP mode, I try to enter a space in a comment line, and I get the error shown in the title, with the following stack trace:
Debugger entered--Lisp error: (void-function nil)
nil(370 1)
abbrev--before-point()
#[0 "\304 \211@^AA\211@^AA\211@^AA\211@^AA^A^D^F^G^F\n\211\205O^@\305`\306\"\305^E\306\"^H\2040^@\307 \2040^@\310 \210^C^Q^B^R^D^S\311^C^E^F^G^F $^B^BV\203M^@`^BU\203M\
^@^Bb\210\266\202\266\204\207" [noninteractive last-abbrev-text last-abbrev last-abbrev-location abbrev--before-point copy-marker t window-minibuffer-p undo-boundary abbrev-i\
nsert] 20 "\n\n(fn)"]()
apply(#[0 "\304 \211@^AA\211@^AA\211@^AA\211@^AA^A^D^F^G^F\n\211\205O^@\305`\306\"\305^E\306\"^H\2040^@\307 \2040^@\310 \210^C^Q^B^R^D^S\311^C^E^F^G^F $^B^BV\203M^@`\
^BU\203M^@^Bb\210\266\202\266\204\207" [noninteractive last-abbrev-text last-abbrev last-abbrev-location abbrev--before-point copy-marker t window-minibuffer-p undo-boundary \
abbrev-insert] 20 "\n\n(fn)"] nil)
#[771 "^B:\2030^@^B@\301=\203^W^@\300\242\302^C^EA\"\303^C#\207\304^C@\305\306\307\310\311\312\300!\313\"\314\315%^F^FA^F^F#^C#\207\304\316^B\"\207" [(#0) t append nil appl\
y apply-partially make-byte-code 642 "\300\242^C^C^C#\207" vconcat vector [] 7 "\n\n(fn FUNS GLOBAL &rest ARGS)" #[0 "\304 \211@^AA\211@^AA\211@^AA\211@^AA^A^D^F^G^F\n\211\20\
5O^@\305`\306\"\305^E\306\"^H\2040^@\307 \2040^@\310 \210^C^Q^B^R^D^S\311^C^E^F^G^F $^B^BV\203M^@`^BU\203M^@^Bb\210\266\202\266\204\207" [noninteractive last-abbrev-text last\
-abbrev last-abbrev-location abbrev--before-point copy-marker t window-minibuffer-p undo-boundary abbrev-insert] 20 "\n\n(fn)"]] 12 "\n\n(fn FUNS GLOBAL ARGS)"](nil nil nil)
abbrev--default-expand()
expand-abbrev()
self-insert-command(1)
call-interactively(self-insert-command nil nil)
command-execute(self-insert-command)
I had a similar problem in cperl-mode
, trying to type a colon (:) inside a double-quoted string.
What might be the problem? I'm using GNU Emacs 24.5.1 on OS X, and my .emacs
file is pasted here.