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

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

[elpa] master 97cf997 4/7: Use set+make-local-variable instead of setq-l


From: Oleh Krehel
Subject: [elpa] master 97cf997 4/7: Use set+make-local-variable instead of setq-local for older versions(<24.3)
Date: Fri, 04 Mar 2016 19:59:49 +0000

branch: master
commit 97cf997ed25335c1881ddbbd86663435a5eb926e
Author: Syohei YOSHIDA <address@hidden>
Commit: Syohei YOSHIDA <address@hidden>

    Use set+make-local-variable instead of setq-local for older versions(<24.3)
---
 lv.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lv.el b/lv.el
index 8d6192f..23d2c30 100644
--- a/lv.el
+++ b/lv.el
@@ -98,7 +98,7 @@ Only the background color is significant."
           (insert
            (propertize "__" 'face 'lv-separator 'display '(space :height (1)))
            (propertize "\n" 'face 'lv-separator 'line-height t)))
-        (setq-local window-min-height n-lines)
+        (set (make-local-variable 'window-min-height) n-lines)
         (setq truncate-lines (> n-lines 1))
         (let ((window-resize-pixelwise t)
               (window-size-fixed nil))



reply via email to

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