emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ELPA-diffs] [elpa] 03/12: company--numbered-line: span tooltip face to


From: Dmitry Gutov
Subject: [ELPA-diffs] [elpa] 03/12: company--numbered-line: span tooltip face to the margins
Date: Sat, 25 Jan 2014 11:35:47 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 920acf979c4c715098ce35a96d28a91197df8efd
Author: Dmitry Gutov <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]