Fix which-func for curly quotes: look for symbol, not message
commit24ee55bfd4371e24a03db0fbd830ad5adac0ac4f
authorDaniel Colascione <dancol@dancol.org>
Sun, 30 Aug 2015 01:06:13 +0000 (29 18:06 -0700)
committerDaniel Colascione <dancol@dancol.org>
Sun, 30 Aug 2015 01:06:13 +0000 (29 18:06 -0700)
tree12d66bec3390b39a686aa2c83b00142f1ad23546
parent57e1205767c012d4fcea87d99db987bc7c0d5585
Fix which-func for curly quotes: look for symbol, not message

* lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
imenu-unavailable error symbol instead of trying to match message
exactly.
* lisp/imenu.el (imenu-unavailable): New error
(imenu-unavailable-error): New function.
lisp/imenu.el
lisp/progmodes/which-func.el