Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
weird backtrace from forward-word on emacs 24.5
Debugger entered--Lisp error: (void-function nil)
  nil(81 192)
  forward-word(1)
  #<subr call-interactively>(forward-word nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> forward-word nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively> (forward-word nil nil))
  call-interactively(forward-word nil nil)
  command-execute(forward-word)

UPDATE: I ran describe-function on ad-Advice-call-interactively and got this:

ad-Advice-call-interactively is a compiled Lisp function.

(ad-Advice-call-interactively AD--ADDOIT-FUNCTION FUNCTION &optional
RECORD-FLAG KEYS)

Around-advice `ido-ubiquitous':
Implements the behavior specified in `ido-ubiquitous-command-overrides'.

[back]

So it's either the fault of ido-ubiquitous or how emacs 24.5 provides backwards-compatability for the old type of advice, or a combination of the two. However removing ido-ubiquitous resulted in an even weirder error!

https://gist.github.com/aspiers/775ce717bd06d43d7adb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment