[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 8115060bfe 1/3: Make sure to handle display-lin
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/company 8115060bfe 1/3: Make sure to handle display-line-numbers when set directly |
|
Date: |
Fri, 17 Nov 2023 18:57:33 -0500 (EST) |
branch: externals/company
commit 8115060bfe71057ba47fe2169e629b0b8562702d
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
Make sure to handle display-line-numbers when set directly
Fixes #1427
---
company.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/company.el b/company.el
index 0b75547a19..907d616626 100644
--- a/company.el
+++ b/company.el
@@ -2918,9 +2918,11 @@ from the candidates list.")
(get-buffer-create " *company-sps*"))))
(unwind-protect
(progn
- (when fra-local
- (dolist (buf bufs)
- (with-current-buffer buf
+ (dolist (buf bufs)
+ (with-current-buffer buf
+ ;; Workaround for debbugs#67248.
+ (setq-local display-line-numbers nil)
+ (when fra-local
(setq-local face-remapping-alist fra-local))))
,@body)
(dolist (buf bufs)