Initialize edebug-offset-indices to a cons, not nil. Fixes bug #16184.
commit0d19e69184cd3068279677fb04aa9fb2da6895e4
authorAlan Mackenzie <acm@muc.de>
Thu, 29 Dec 2016 09:22:36 +0000 (29 09:22 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 29 Dec 2016 09:22:36 +0000 (29 09:22 +0000)
tree6d247a864afe776a6e13ea1911d29a3dd7d62453
parent112460da705c2a6716d7b6bc72501de0a3757259
Initialize edebug-offset-indices to a cons, not nil.  Fixes bug #16184.

This is because there are times when this variable is changed by setcar before
an atom is pushed onto it by debug-enter.  This happens, for example, whilst
instrumenting c-font-lock-declarations in .../lisp/progmodes/cc-fonts.el.

* lisp/emacs-lisp/edebug.el (edebug-offset-indices): initialize to '(0).
lisp/emacs-lisp/edebug.el