Skip to content

Commit be47f2d

Browse files
committed
remove call to org-element-parent
this seems to be inconsistently supported. It does nothing interesting, so it makes sense that it isn't supported everywhere Small bug, but worthy of a release
1 parent 9d3a5e3 commit be47f2d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

NEWS.org

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#+select_tags: latest
1212
#+export_file_name: RELEASE
1313

14+
* v0.6.2 Minor Bug Fix :latest:
15+
💩 ~org-element-parent~ call was removed
1416
* v0.6.1 The Toddling :latest:
1517
Fixing bugs and filling some gaps in new features.
1618
** Added 🎅
@@ -30,7 +32,7 @@ Fixing bugs and filling some gaps in new features.
3032
- kmacro action properly skips over non-matching directions when both forward and backward elements are present in a slide
3133
- 🚧 kmacro playback of =M-<return>= and =M-<backspace>= and others is now correct. There are likely more events that don't round trip nicely from ~last-kbd-macro~ through ~key-description~ and back through ~read-kbd-macro~. *File issues*.
3234
- 🚧 kmacro playback no longer aborts when inputs from file-notify etc occur. It can be quit with =C-g=. A more comprehensive solution is being developed.
33-
* v0.6.0 Fighting Spam 💌
35+
* v0.6.0 Fighting Spam 💌 :latest:
3436
- There is less markup (especially for babel)
3537
- Old actions are easier to use
3638
- New actions (*KMACROS!*) fit a more clear pattern

dslide.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
;; Copyright (C) 2024 Positron
55
;;
66
;; Author: Positron <contact@positron.solutions>
7-
;; Version: 0.6.1
7+
;; Version: 0.6.2
88
;; Package-Requires: ((emacs "29.2"))
99
;; Maintainer: Positron <contact@positron.solutions>
1010
;; URL: https://github.com/positron-solutions/dslide
@@ -2689,7 +2689,8 @@ PRED, INFO, FIRST-MATCH, and NO-RECURSION are described in
26892689
(defun dslide--section (heading)
26902690
"Get the section of a HEADING."
26912691
(cl-labels ((section-p (element)
2692-
(if (eq (org-element-property :begin (org-element-parent element))
2692+
(if (eq (org-element-property
2693+
:begin (org-element-property :parent element))
26932694
(org-element-property :begin heading))
26942695
(throw 'section element)
26952696
(throw 'section nil))))

0 commit comments

Comments
 (0)