summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el4
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)