[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 6bd2457 03/70: Ensure that display-line-numbers-mod
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 6bd2457 03/70: Ensure that display-line-numbers-mode is bound |
Date: |
Thu, 11 Nov 2021 03:57:40 -0500 (EST) |
branch: externals/mct
commit 6bd2457cc7ad8a1656de16e51d2d7e00203341c2
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Ensure that display-line-numbers-mode is bound
If display-line-numbers-mode hasn't been loaded yet, the variable
isn't bound and would signal an error.
---
mct.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mct.el b/mct.el
index 4590a92..820ce4a 100644
--- a/mct.el
+++ b/mct.el
@@ -470,7 +470,7 @@ minibuffer."
"Show line numbers and select one of them."
(with-current-buffer "*Completions*"
(let ((mct-show-completion-line-numbers t))
- (if display-line-numbers-mode
+ (if (bound-and-true-p display-line-numbers-mode)
(mct-goto-line)
(unwind-protect
(progn
- [elpa] branch externals/mct created (now b5f4222), ELPA Syncer, 2021/11/11
- [elpa] externals/mct 2d77307 04/70: Add "Acknowledgements" section to the manual, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 144a32f 05/70: Add internal function to show completions, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 769b1a8 02/70: Use remap where applicable, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 6bd2457 03/70: Ensure that display-line-numbers-mode is bound,
ELPA Syncer <=
- [elpa] externals/mct cc8a5c1 09/70: Mention temp-buffer-resize-mode in the docs, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 91586c4 10/70: Fix documentation about manual install method, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 79b2643 07/70: Remove unused user-error message, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 609fd0a 12/70: Move findex and vindex annotations to their actual mentions, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 4882ed6 17/70: Note display-buffer in mct-display-buffer-action, ELPA Syncer, 2021/11/11
- [elpa] externals/mct e75a6c6 19/70: Update mct-display-buffer-action with sample conf, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 982b4ee 20/70: Note mct-completions-format needs mct-mode restart, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 1b0ab0b 21/70: Untabify and re-indent, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 5c0e138 22/70: Recompile texi/info manuald, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 45c272e 25/70: Add a .dir-locals.el file, ELPA Syncer, 2021/11/11