org-reload: do not use the symbol name of the feature to map to the file name
commit5451668d7b2df82d7a3df4057370cc7274417d61
authorAchim Gratz <Stromeko@Stromeko.DE>
Wed, 10 Oct 2012 16:04:19 +0000 (10 18:04 +0200)
committerAchim Gratz <Stromeko@Stromeko.DE>
Wed, 10 Oct 2012 16:04:19 +0000 (10 18:04 +0200)
tree470cceadf1ba48d3404debd66ec2a424e05ef5fb
parentb6822edce3a799aa605fc1757232bd720b769ee8
org-reload: do not use the symbol name of the feature to map to the file name

* lisp/org.el (org-reload): Do not use the symbol name of the feature
  to map to the library name.  Use the function feature-file from
  loadhist instead.  Remove duplicate filenames from the resulting
  list since several files define multiple features, which was also
  the root cause of the reported bug.

Thanks to Rainer M. Krug for reporting this.
http://permalink.gmane.org/gmane.emacs.orgmode/61429
lisp/org.el