Commit 4f020bec authored by Takafumi Arakaki's avatar Takafumi Arakaki Committed by Stefan Monnier

* lisp/progmodes/which-func.el (which-func-current): The hash-table may have

an explicit nil.

Fixes: debbugs:12338
parent c77d37e2
2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
* progmodes/which-func.el (which-func-current): The hash-table may have
an explicit nil (bug#12338).
2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
* electric.el (electric-pair-delete-selection-self-insert-function):
......
......@@ -182,7 +182,8 @@ and you want to simplify them for the mode line
(defconst which-func-current
'(:eval (replace-regexp-in-string
"%" "%%"
(gethash (selected-window) which-func-table which-func-unknown))))
(or (gethash (selected-window) which-func-table)
which-func-unknown))))
;;;###autoload (put 'which-func-current 'risky-local-variable t)
(defvar which-func-mode nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment