[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 214/255: refresh list every time the buffer changes size
From: |
Eric Schulte |
Subject: |
[elpa] 214/255: refresh list every time the buffer changes size |
Date: |
Sun, 16 Mar 2014 01:02:51 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit 83fee11cbf5ea9069f3a3bba40930663ca505602
Author: Eric Schulte <address@hidden>
Date: Tue Aug 6 12:56:51 2013 -0600
refresh list every time the buffer changes size
---
list-buffer.el | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/list-buffer.el b/list-buffer.el
index 593b256..6056999 100644
--- a/list-buffer.el
+++ b/list-buffer.el
@@ -40,6 +40,9 @@
(set (make-local-variable '*buffer-list*) list)
(set (make-local-variable '*buffer-headers*)
(mapcar (curry #'format "%s") headers))
+ ;; refresh every time the buffer changes size
+ (set (make-local-variable 'window-size-change-functions)
+ (cons (lambda (b) (list-buffer-refresh)) window-size-change-functions))
;; set commands at the bottom
(list-buffer-refresh))
- [elpa] 165/255: working on placing backgrounds behind pieces, (continued)
- [elpa] 165/255: working on placing backgrounds behind pieces, Eric Schulte, 2014/03/15
- [elpa] 202/255: added interface function to view an SGF file, Eric Schulte, 2014/03/15
- [elpa] 205/255: update the README, Eric Schulte, 2014/03/15
- [elpa] 206/255: ensure prisoners are 0 at the start of a new game, Eric Schulte, 2014/03/15
- [elpa] 208/255: support for viewing lists in a buffer, Eric Schulte, 2014/03/15
- [elpa] 207/255: robustly handle prematurely quitting process, Eric Schulte, 2014/03/15
- [elpa] 209/255: adding curry, rcurry and compose helpers, Eric Schulte, 2014/03/15
- [elpa] 213/255: include headers in width calculation, Eric Schulte, 2014/03/15
- [elpa] 215/255: smaller ldots, Eric Schulte, 2014/03/15
- [elpa] 200/255: refresh the go board, Eric Schulte, 2014/03/15
- [elpa] 214/255: refresh list every time the buffer changes size,
Eric Schulte <=
- [elpa] 212/255: bug fix, wrong function name, Eric Schulte, 2014/03/15
- [elpa] 225/255: quit observing IGS game w/o closing connection, Eric Schulte, 2014/03/15
- [elpa] 171/255: bigger stones, Eric Schulte, 2014/03/15
- [elpa] 219/255: updated igs backend, Eric Schulte, 2014/03/15
- [elpa] 222/255: asynchronous IGS game listing, Eric Schulte, 2014/03/15
- [elpa] 220/255: list buffer navigation, Eric Schulte, 2014/03/15
- [elpa] 217/255: sorting columns, Eric Schulte, 2014/03/15
- [elpa] 216/255: small list buffer tweaks, Eric Schulte, 2014/03/15
- [elpa] 238/255: wrap go-re-cond in save-match-data, Eric Schulte, 2014/03/15
- [elpa] 223/255: use igs-re-cond to handle prompts, Eric Schulte, 2014/03/15