[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult 53673a2985 3/3: Add comment
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult 53673a2985 3/3: Add comment |
Date: |
Thu, 26 Jan 2023 16:57:26 -0500 (EST) |
branch: externals/consult
commit 53673a2985e84cc35d0d4603caa53f4c4dc71a30
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Add comment
---
consult.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/consult.el b/consult.el
index 67e3a1dc01..3775bc6abb 100644
--- a/consult.el
+++ b/consult.el
@@ -4555,6 +4555,8 @@ BUILDER is the command argument builder."
;; Filter out empty context lines
(or (/= (aref str (match-beginning 3)) ?-)
(/= (match-end 0) (length str))))
+ ;; We share the file name across candidates to reduce
+ ;; the amount of allocated memory.
(unless (and (= file-len (- (match-end 1) (match-beginning 1)))
(eq t (compare-strings
file 0 file-len