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

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

[elpa] master b14a6c9 1/2: Fix nlinum face height function (Bug#26552)


From: Noam Postavsky
Subject: [elpa] master b14a6c9 1/2: Fix nlinum face height function (Bug#26552)
Date: Sat, 4 Nov 2017 10:36:51 -0400 (EDT)

branch: master
commit b14a6c9632e8a1016f994b6e2ca642d9a6bb30cd
Author: Christophe Rhodes <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Fix nlinum face height function (Bug#26552)
    
    * packages/nlinum/nlinum.el (nlinum--face-height): Get the height from
    font-info, not size.
    
    Copyright-paperwork-exempt: yes
---
 packages/nlinum/nlinum.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/nlinum/nlinum.el b/packages/nlinum/nlinum.el
index d0ab821..1c3d119 100644
--- a/packages/nlinum/nlinum.el
+++ b/packages/nlinum/nlinum.el
@@ -119,7 +119,7 @@ Linum mode is a buffer-local minor mode."
   (nlinum--setup-windows))
 
 (defun nlinum--face-height (face)
-  (aref (font-info (face-font face)) 2))
+  (aref (font-info (face-font face)) 3))
 
 (defun nlinum--face-width (face)        ;New info only in Emacs>=25.
   (let ((fi (font-info (face-font face))))



reply via email to

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