Skip to content

Instantly share code, notes, and snippets.

@aspiers
Last active November 16, 2015 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspiers/7330084c7bd99d2003e2 to your computer and use it in GitHub Desktop.
Save aspiers/7330084c7bd99d2003e2 to your computer and use it in GitHub Desktop.
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