org-element: Small fix
commit4357dde36240525f0f834b76256ec995a94396c4
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 7 Jun 2014 13:32:47 +0000 (7 15:32 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 7 Jun 2014 13:32:47 +0000 (7 15:32 +0200)
tree7270fe210538a91773533079620bb007dfca80d2
parent73bada5d84fc22dd024bc3ca4feefccf299f46d0
org-element: Small fix

* lisp/org-element.el (org-element--cache-generate-key): Small fix.
  Check if UPPER is non nil before comparing its car with 1.  This is
  a safety feature, though, as a key shouldn't end on 0 anyway.
lisp/org-element.el