Fix "Wrong type argument: overlayp"
commitc41bbc577e81e9fa5bab2509a8141189e45fe6c7
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 18 Feb 2015 00:59:51 +0000 (18 01:59 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 18 Feb 2015 00:59:51 +0000 (18 01:59 +0100)
tree312df46ffaa069acb5cc2cbda7a24c1c499ad54e
parent880a2b4f9042e188462c7c6a8996500774c21884
Fix "Wrong type argument: overlayp"

* lisp/org-src.el (org-src-mode-configure-edit-buffer): Fix "Wrong
  type argument: overlayp".

Changing major mode in a source edit buffer resets local variables
used to link it to source buffer.  As a consequence, overlay in source
buffer can no longer be found nor deleted.
lisp/org-src.el