[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark a6799a1 1/4: Preserve highlighting of heading ta
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark a6799a1 1/4: Preserve highlighting of heading target |
Date: |
Sat, 11 Dec 2021 18:57:21 -0500 (EST) |
branch: externals/embark
commit a6799a1db68ddd1e24c6871e6a9ac853a7a2b025
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Preserve highlighting of heading target
We also preserve the highlighting of other targets.
---
embark.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/embark.el b/embark.el
index 66f6d2c..05d64c2 100644
--- a/embark.el
+++ b/embark.el
@@ -849,7 +849,7 @@ As a convenience, in Org Mode an initial ' or surrounding
== or
;; default definition from outline.el
(or (bound-and-true-p outline-regexp) "[*\^L]+"))))
(require 'outline) ;; Ensure that outline commands are available
- `(heading ,(buffer-substring-no-properties beg end) ,beg . ,end))))
+ `(heading ,(buffer-substring beg end) ,beg . ,end))))
(defun embark-target-top-minibuffer-completion ()
"Target the top completion candidate in the minibuffer.