[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 200/255: refresh the go board
From: |
Eric Schulte |
Subject: |
[elpa] 200/255: refresh the go board |
Date: |
Sun, 16 Mar 2014 01:02:48 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit 15d9aa451e33850b84e4a7db93770b57d08a1738
Author: Eric Schulte <address@hidden>
Date: Mon May 20 18:58:30 2013 -0600
refresh the go board
---
go-board.el | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/go-board.el b/go-board.el
index 402a4d3..cec8b21 100644
--- a/go-board.el
+++ b/go-board.el
@@ -380,6 +380,10 @@
(apply-turn-to-board (list move)))
(when *autoplay* (go-board-next)))
+(defun go-board-refresh ()
+ (interactive)
+ (update-display (current-buffer)))
+
(defun go-board-resign ()
(interactive)
(with-backends back (go-reset back)))
@@ -452,7 +456,8 @@
(let ((map (make-sparse-keymap)))
(define-key map (kbd "<mouse-1>") 'go-board-mouse-move)
(define-key map (kbd "m") 'go-board-move)
- (define-key map (kbd "r") 'go-board-resign)
+ (define-key map (kbd "r") 'go-board-refresh)
+ (define-key map (kbd "R") 'go-board-resign)
(define-key map (kbd "u") 'go-board-undo)
(define-key map (kbd "c") 'go-board-comment)
(define-key map (kbd "l") 'go-board-level)
- [elpa] 204/255: prefix external names with package name, (continued)
- [elpa] 204/255: prefix external names with package name, Eric Schulte, 2014/03/15
- [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 <=
- [elpa] 214/255: refresh list every time the buffer changes size, Eric Schulte, 2014/03/15
- [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