Skip to content

Commit

Permalink
Fix find-imported-class where searched-for class is a suffix of an al…
Browse files Browse the repository at this point in the history
…ready-imported.
  • Loading branch information
espenhw committed Mar 18, 2009
1 parent df998f2 commit f9f275d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/lisp/malabar-import.el
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ in the list")
(let ((import-tag (find classname tags
:key #'semantic-tag-name
:test (lambda (classname tag)
(string-ends-with tag classname)))))
(string-ends-with tag (concat "." classname))))))
(or (when (> (count ?. classname) 1)
classname)
(when import-tag
Expand Down

0 comments on commit f9f275d

Please sign in to comment.