* org.el (org-insert-drawer): Deactivate the mark before
trying to indent the :END: of the drawer.
Thanks to Christoph LANGE for reporting this.
@@ -14949,6 +14949,7 @@ Point is left between drawer's boundaries."
(skip-chars-backward " \r\t\n")
+ (deactivate-mark t)
(unless (eolp) (insert "\n")))
;; Clear marker, whatever the outcome of insertion is.