Commit 345427f0 authored by Vinicius Jose Latorre's avatar Vinicius Jose Latorre
Browse files

Asure buffer-display-table is unique when two or more windows are visible.

parent a025644d
2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
* whitespace.el (whitespace-display-char-on): Asure
`buffer-display-table' is unique when two or more windows are
visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
New version 12.1.
2009-12-10 Eli Zaretskii <eliz@gnu.org>
* arc-mode.el (archive-rar-summarize): Allow between 6 and 7
......
......@@ -6,7 +6,7 @@
;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
;; Keywords: data, wp
;; Version: 12.0
;; Version: 12.1
;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre
;; This file is part of GNU Emacs.
......@@ -2388,6 +2388,10 @@ Also refontify when necessary."
(setq whitespace-display-table-was-local t
whitespace-display-table
(copy-sequence buffer-display-table)))
;; asure `buffer-display-table' is unique
;; when two or more windows are visible.
(set (make-local-variable 'buffer-display-table)
(copy-sequence buffer-display-table))
(unless buffer-display-table
(setq buffer-display-table (make-display-table)))
(dolist (entry whitespace-display-mappings)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment