diff options
| author | Sacha Chua <sacha@sachachua.com> | 2026-05-05 11:07:46 -0400 |
|---|---|---|
| committer | Sacha Chua <sacha@sachachua.com> | 2026-05-05 11:07:46 -0400 |
| commit | f2be8bc11b2389d396f3aeb26c78ab1809915d93 (patch) | |
| tree | 4d11f723882d6bcfa5932e8b7304bda79870f510 | |
| parent | 3c826c4df26f6d890d72b0ded9aa27686ccd1c43 (diff) | |
| download | emacsconf-el-main.tar.xz emacsconf-el-main.zip | |
* emacsconf.el (emacsconf-get-logbook-notes):
Check if region is specified.
| -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))) |
