* lisp/subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
Fixes: debbugs:14390
This commit is contained in:
parent
0ac0fecb15
commit
180ed21842
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-05-14 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
|
||||
(Bug#14390)
|
||||
|
||||
2013-05-14 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* progmodes/f90.el (f90-imenu-generic-expression):
|
||||
|
|
|
@ -2738,7 +2738,7 @@ symbol at point exactly."
|
|||
(get major-mode 'find-tag-default-function)
|
||||
'find-tag-default))
|
||||
(tag (funcall tagf)))
|
||||
(cond ((not tag))
|
||||
(cond ((null tag) nil)
|
||||
((eq tagf 'find-tag-default)
|
||||
(format "\\_<%s\\_>" (regexp-quote tag)))
|
||||
(t (regexp-quote tag)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue