diff lisp/finder.el @ 111292:c93578464b09

Fix to package name computation in Finder. * lisp/finder.el (finder-compile-keywords): Don't use intern-soft, since package names may not yet exist in the obarray.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 31 Oct 2010 23:19:01 -0400
parents 93141d34a175
children 417b1e4d63cd
line wrap: on
line diff
--- a/lisp/finder.el	Sun Oct 31 23:16:48 2010 -0400
+++ b/lisp/finder.el	Sun Oct 31 23:19:01 2010 -0400
@@ -198,7 +198,8 @@
 	      (setq summary  (lm-synopsis)
 		    keywords (mapcar 'intern (lm-keywords-list))
 		    package  (or package-override
-				 (intern-soft (lm-header "package"))
+				 (let ((str (lm-header "package")))
+				   (if str (intern str)))
 				 base-name)
 		    version  (lm-header "version")))
 	    (when summary