diff options
| -rw-r--r-- | emacsconf.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacsconf.el b/emacsconf.el index cd82d54..81bf375 100644 --- a/emacsconf.el +++ b/emacsconf.el @@ -837,7 +837,8 @@ The subheading should match `emacsconf-abstract-heading-regexp'." (let* ((elt (org-element-property-drawer-parser nil)) (beg (org-element-property :contents-begin elt)) (end (org-element-property :contents-end elt))) - (buffer-substring-no-properties beg end))))) + (when (and beg end) + (buffer-substring-no-properties beg end)))))) (defun emacsconf-get-talk-logbook (o) (plist-put o :logbook (emacsconf-get-logbook-notes))) |
