From 313de70a8ecc3fabb8692bd353dec86ac9950002 Mon Sep 17 00:00:00 2001 From: Nikolaj Schumacher Date: Thu, 23 Apr 2009 18:52:34 +0200 Subject: [PATCH] Don't reset company-begin-with-marker if nil. --- company.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/company.el b/company.el index 7bbf4e5..1c63460 100644 --- a/company.el +++ b/company.el @@ -1417,7 +1417,8 @@ To show the number next to the candidates in some back-ends, enable (remove-hook 'company-completion-finished-hook company-callback t) (remove-hook 'company-completion-cancelled-hook 'company-remove-callback t) (remove-hook 'company-completion-finished-hook 'company-remove-callback t) - (set-marker company-begin-with-marker nil)) + (when company-begin-with-marker + (set-marker company-begin-with-marker nil))) (defun company-begin-backend (backend &optional callback) "Start a completion at point using BACKEND." -- 2.39.2