Case insensitivity when checking drawer name

Fixes #328
This commit is contained in:
Nathaniel Nicandro 2021-11-19 20:20:19 -06:00
parent bb53fdd864
commit 5b09d4d5ca

View file

@ -1101,7 +1101,7 @@ new \"scalar\" result with the result of calling
(defsubst jupyter-org--first-result-context-p (context)
(cl-case (org-element-type context)
(drawer (not (equal "RESULTS"
(org-element-property :drawer-name context))))
(upcase (org-element-property :drawer-name context)))))
(t (not (jupyter-org--wrappable-element-p context)))))
(defun jupyter-org--clear-request-id (req)