aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2010-08-18 15:54:58 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2010-08-18 15:54:58 +0000
commitd7e9830205dc534484f7f8e6c90eb054974ba696 (patch)
tree36d364dd949fd4e070787a65169985e1d3ffa7ff /lib
parentb8fc357dbb4bbd7b7cd54fe177a1d60ac0eb59cc (diff)
unicode-tokens-show-controls (C-c C-t C-t): Use redraw-display instead
of redisplay to reveal invisibility spec changes
Diffstat (limited to 'lib')
-rw-r--r--lib/unicode-tokens.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/unicode-tokens.el b/lib/unicode-tokens.el
index e6b6dbfd..0d5ea565 100644
--- a/lib/unicode-tokens.el
+++ b/lib/unicode-tokens.el
@@ -603,8 +603,7 @@ Optional argument FACENIL means set the face property to nil, unless 'face is in
(remove-from-invisibility-spec 'unicode-tokens-show-controls))
(when (not unicode-tokens-show-controls)
(add-to-invisibility-spec 'unicode-tokens-show-controls))
- ;; EMACS ISSUE: how to force redisplay here to notice invis spec change?
- (redisplay t))
+ (redraw-display))
(defun unicode-tokens-control-char (name s &rest props)
`(,(format unicode-tokens-control-char-format-regexp (regexp-quote s))