 #+end_END"
   (insert (format "#+begin_%s\n" begin))
   (insert (make-string org-edit-src-content-indentation ?\s))
-  ;; Saving excursion restores point to location inside code block.
   (save-excursion
     (insert (format "\n#+end_%s" end)))
   (cond ((eq company-org-block-edit-mode 'auto)

(require 'map)
(require 'org)
(require 'seq)

(defcustom company-org-block-complete-at-bol t
  "If t, detect completion when at begining of line, otherwise detect
 completion anywhere."
  :type 'boolean)

(defcustom company-org-block-explicit-lang-defaults t


For example: \"python\" resolves to:

\((:exports . \"both\")
  (:results . \"output\"))

and returns:

