From d7e9830205dc534484f7f8e6c90eb054974ba696 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Wed, 18 Aug 2010 15:54:58 +0000 Subject: unicode-tokens-show-controls (C-c C-t C-t): Use redraw-display instead of redisplay to reveal invisibility spec changes --- lib/unicode-tokens.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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)) -- cgit v1.2.3