diff options
| author | Mario Lang <mlang@delysid.org> | 2014-03-03 10:20:47 +0100 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2014-03-03 10:20:47 +0100 |
| commit | dd40131722c72b17f8e1480aa284c534f2607b83 (patch) | |
| tree | 7ed3eb638db431aac4aa7e2a24a0dbd072f5a24e /chess-display.el | |
| parent | 6383bff886da38052b04c0168b431673b930a8a6 (diff) | |
`last-command-char' is gone in Emacs24, it is `last-command-event' now.
Diffstat (limited to 'chess-display.el')
| -rw-r--r-- | chess-display.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-display.el b/chess-display.el index 4957f82..bcdc12e 100644 --- a/chess-display.el +++ b/chess-display.el @@ -121,7 +121,7 @@ of the board, if non-nil, the board is viewed from White's perspective." (let* ((chess-display-style style) (display (chess-module-create 'chess-display game "*Chessboard*" perspective))) - (if (not (or executing-kbd-macro noninteractive)) + (if (called-interactively-p 'any) (progn (chess-display-update display) (chess-display-popup display)) @@ -955,7 +955,7 @@ Basically, it means we are playing, not editing or reviewing." (ibuffer-maybe-show-regexps nil)) (fset 'buffer-list (function - (lambda () + (lambda (&optional frame) (delq nil (mapcar (function (lambda (cell) |
