[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult 4a7167c331: consult-goto-line: Use goto-line-hi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult 4a7167c331: consult-goto-line: Use goto-line-history unconditionally |
Date: |
Sat, 21 Jan 2023 06:57:32 -0500 (EST) |
branch: externals/consult
commit 4a7167c331d3c0c0d60b1d2d54c840f33e446683
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
consult-goto-line: Use goto-line-history unconditionally
This works on Emacs older than 28.
---
consult.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/consult.el b/consult.el
index a3dbef6fd8..ce5dc640b0 100644
--- a/consult.el
+++ b/consult.el
@@ -3465,9 +3465,7 @@ narrowing and the settings `consult-goto-line-numbers' and
(while (if-let (pos (consult--goto-line-position
(consult--prompt
:prompt "Go to line: "
- ;; goto-line-history is available on Emacs 28
- :history
- (and (boundp 'goto-line-history)
'goto-line-history)
+ :history 'goto-line-history
:state
(let ((preview (consult--jump-preview)))
(lambda (action str)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/consult 4a7167c331: consult-goto-line: Use goto-line-history unconditionally,
ELPA Syncer <=