branch: externals/mct commit 6bd2457cc7ad8a1656de16e51d2d7e00203341c2 Author: Philip Kaludercic <phil...@posteo.net> Commit: Protesilaos Stavrou <i...@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