[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org baffebbc33 25/44: Fix bug in org-get-heading
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org baffebbc33 25/44: Fix bug in org-get-heading |
Date: |
Mon, 25 Apr 2022 07:57:57 -0400 (EDT) |
branch: externals/org
commit baffebbc33e600ec7abfe5e54b60ea6753d4f272
Author: Anders Johansson <mejlaandersj@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
Fix bug in org-get-heading
Fixes #26, where fontification could make the matching and extraction of
heading
components fail.
---
lisp/org.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index e361d41539..8a1f0bd9c9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6167,8 +6167,9 @@ Return nil before first heading."
(let ((case-fold-search nil))
(looking-at org-complex-heading-regexp)
;; When using `org-fold-core--optimise-for-huge-buffers',
- ;; returned text may be invisible. Clear it up.
- (org-fold-core-remove-optimisation (match-beginning 0) (match-end 0))
+ ;; returned text will be invisible. Clear it up.
+ (save-match-data
+ (org-fold-core-remove-optimisation (match-beginning 0) (match-end
0)))
(let ((todo (and (not no-todo) (match-string 2)))
(priority (and (not no-priority) (match-string 3)))
(headline (pcase (match-string 4)
- [elpa] externals/org 87babca898 33/44: org--string-from-props: Fix handling folds in Emacs <28, (continued)
- [elpa] externals/org 87babca898 33/44: org--string-from-props: Fix handling folds in Emacs <28, ELPA Syncer, 2022/04/25
- [elpa] externals/org ce58542c85 38/44: org-agenda.el: Re-enable native compilation, ELPA Syncer, 2022/04/25
- [elpa] externals/org 2249f4d7e5 42/44: org-fold-core-fontify-region: Remove unused variable, ELPA Syncer, 2022/04/25
- [elpa] externals/org 407104459b 44/44: org-fold: Honour `org-fold-show-context-detail' for isearch, ELPA Syncer, 2022/04/25
- [elpa] externals/org 219bc6c2d3 37/44: org-fold-core-fontify-region: Fix cases when fontification is not registered, ELPA Syncer, 2022/04/25
- [elpa] externals/org a6eab82fd6 16/44: Obsolete old function names that are now in org-fold, ELPA Syncer, 2022/04/25
- [elpa] externals/org f813f10818 26/44: Rename remaining org-force-cycle-archived → org-cycle-force-archived, ELPA Syncer, 2022/04/25
- [elpa] externals/org 2e3566e1e9 28/44: org-string-width: Handle undefined behaviour in older Emacs, ELPA Syncer, 2022/04/25
- [elpa] externals/org 240a14988f 24/44: Fix typo: delete-duplicates → delete-dups, ELPA Syncer, 2022/04/25
- [elpa] externals/org 52a0ef94c9 23/44: Backport contributed commits, ELPA Syncer, 2022/04/25
- [elpa] externals/org baffebbc33 25/44: Fix bug in org-get-heading,
ELPA Syncer <=
- [elpa] externals/org e8d8db63a0 19/44: Restore old visibility behaviour of org-refile, ELPA Syncer, 2022/04/25
- [elpa] externals/org 3da1b2d240 31/44: org-fold-core: Fix fontification inside folded regions, ELPA Syncer, 2022/04/25
- [elpa] externals/org d048c153dd 08/44: org-string-width: Reimplement to work with new folding, ELPA Syncer, 2022/04/25
- [elpa] externals/org fa7530c7b4 09/44: Rename old function call to use org-fold, ELPA Syncer, 2022/04/25
- [elpa] externals/org 312f39a05d 41/44: org-string-width: Do not remove face info when PIXELS is non-nil, ELPA Syncer, 2022/04/25
- [elpa] externals/org 0bca8bc418 30/44: org-fold-show-set-visibility: Fix edge case when folded region is at BOB, ELPA Syncer, 2022/04/25
- [elpa] externals/org a8f4270ac1 21/44: org-manual: Update to new org-fold function names, ELPA Syncer, 2022/04/25
- [elpa] externals/org 0daa209a74 29/44: org-string-width: Work around `window-pixel-width' bug in old Emacs, ELPA Syncer, 2022/04/25
- [elpa] externals/org d2775da08d 35/44: test-ol/org-toggle-link-display: Fix compatibility with old Emacs, ELPA Syncer, 2022/04/25
- [elpa] externals/org 24c1c877cf 43/44: org-fold-core-fontify-region: Calculate jit-lock-bounds accurately, ELPA Syncer, 2022/04/25