Skip to content

Commit

Permalink
Fixes issue with org 9.7 change in behavior for org-insert-subheading
Browse files Browse the repository at this point in the history
Thanks to jrossie (ahungry#351) for
diagnosing and submitting a fix via comment.
  • Loading branch information
ahungry committed Jul 11, 2024
1 parent 295b01e commit ac625b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions org-jira.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@

;;; News:

;;;; Changes in 4.4.2
;; - Fix for org-insert-subheading behavior change in org 9.7+ in render-issues

;;;; Changes in 4.4.1
;; - Fix tag (4.3.3 was out of order - we had a 4.4.0 on repo)
;; - Fix for some crazy scoping issue in the org-jira-get-issue-val-from-org function
Expand Down Expand Up @@ -1172,6 +1175,7 @@ ORG-JIRA-PROJ-KEY-OVERRIDE being set before and after running."
(if (org-goto-first-child)
(org-insert-heading)
(goto-char (point-max))
(open-line 1)
(org-insert-subheading t))
(org-jira-insert entry-heading "\n"))

Expand Down

0 comments on commit ac625b0

Please sign in to comment.