dgutov pushed a commit to branch master
in repository elpa.

commit 920acf979c4c715098ce35a96d28a91197df8efd
Author: Dmitry Gutov <dgu...@yandex.ru>
Date:   Thu Jan 23 13:22:50 2014 +0200

    company--numbered-line: span tooltip face to the margins
---
 company.el |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/company.el b/company.el
index 89e0256..4dd7b74 100644
--- a/company.el
+++ b/company.el
@@ -1862,10 +1862,10 @@ Example: \(company-begin-with '\(\"foo\" \"foobar\" 
\"foobarbaz\"\)\)"
     (setq lines (nreverse new))))
 
 (defun company--numbered-line (text width)
-  (concat (company-space-string company-tooltip-margin)
-          (propertize (company-safe-substring text 0 width)
-                      'face 'company-tooltip)
-          (company-space-string company-tooltip-margin)))
+  (propertize (concat (company-space-string company-tooltip-margin)
+                      (company-safe-substring text 0 width)
+                      (company-space-string company-tooltip-margin))
+   'face 'company-tooltip))
 
 ;; show
 

Reply via email to