General, minor refactors & comment revision

This commit is contained in:
Henrik Lissner 2019-09-11 23:32:46 -04:00
parent f9feaec5bd
commit 1c05773c39
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 9 additions and 10 deletions

View file

@ -97,7 +97,8 @@
(advice-add #'org-return-indent :after #'+org-fix-newline-and-indent-in-src-blocks-a)
;; `org-babel-get-header' was removed from org in 9.0. Quite a few babel
;; plugins use it, so until those plugins update, this polyfill will do:
;; plugins use it (like ob-spice), so until those plugins update, this
;; polyfill will do:
(defun org-babel-get-header (params key &optional others)
(cl-loop with fn = (if others #'not #'identity)
for p in params