branch: master commit 97cf997ed25335c1881ddbbd86663435a5eb926e Author: Syohei YOSHIDA <syo...@gmail.com> Commit: Syohei YOSHIDA <syo...@gmail.com>
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))