org-reload: bugfix when first element of features is nil
commite2e545269a20e01f4f06960c8b430f459b3d96e3
authorAchim Gratz <Stromeko@Stromeko.DE>
Tue, 9 Oct 2012 17:31:37 +0000 (9 19:31 +0200)
committerAchim Gratz <Stromeko@Stromeko.DE>
Tue, 9 Oct 2012 17:34:14 +0000 (9 19:34 +0200)
tree8e35d9e8b10af75ac82c6efd3eefafd2f1d61fcf
parent975b7f4608d2e5933f92497835beaab57a6e83b0
org-reload: bugfix when first element of features is nil

* lisp/org.el (org-reload): Let-bind features and make sure to use the
  result of delq and not just the side-effects.  Otherwise a
  spurious (nil ...) remains at the beginning of the list and leads to
  a spurious warning about a possible reload error.

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