diff options
| author | Vinicius Jose Latorre | 2009-12-11 01:04:55 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2009-12-11 01:04:55 +0000 |
| commit | 345427f02a683ae09ebf1f9d4f0794da9c5a0299 (patch) | |
| tree | 84f50acc0e057a78f7b57eb7d55fc5ec2445c4c9 | |
| parent | a025644d65f938f82e700260d0114ba69cbfe5a4 (diff) | |
| download | emacs-345427f02a683ae09ebf1f9d4f0794da9c5a0299.tar.gz emacs-345427f02a683ae09ebf1f9d4f0794da9c5a0299.zip | |
Asure buffer-display-table is unique when two or more windows are visible.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/whitespace.el | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5e932476fbf..8ce630f30b2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| 2 | |||
| 3 | * whitespace.el (whitespace-display-char-on): Asure | ||
| 4 | `buffer-display-table' is unique when two or more windows are | ||
| 5 | visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>. | ||
| 6 | New version 12.1. | ||
| 7 | |||
| 1 | 2009-12-10 Eli Zaretskii <eliz@gnu.org> | 8 | 2009-12-10 Eli Zaretskii <eliz@gnu.org> |
| 2 | 9 | ||
| 3 | * arc-mode.el (archive-rar-summarize): Allow between 6 and 7 | 10 | * arc-mode.el (archive-rar-summarize): Allow between 6 and 7 |
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 56eebd7f47e..3af0afb8b26 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 7 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 7 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 8 | ;; Keywords: data, wp | 8 | ;; Keywords: data, wp |
| 9 | ;; Version: 12.0 | 9 | ;; Version: 12.1 |
| 10 | ;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre | 10 | ;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre |
| 11 | 11 | ||
| 12 | ;; This file is part of GNU Emacs. | 12 | ;; This file is part of GNU Emacs. |
| @@ -2388,6 +2388,10 @@ Also refontify when necessary." | |||
| 2388 | (setq whitespace-display-table-was-local t | 2388 | (setq whitespace-display-table-was-local t |
| 2389 | whitespace-display-table | 2389 | whitespace-display-table |
| 2390 | (copy-sequence buffer-display-table))) | 2390 | (copy-sequence buffer-display-table))) |
| 2391 | ;; asure `buffer-display-table' is unique | ||
| 2392 | ;; when two or more windows are visible. | ||
| 2393 | (set (make-local-variable 'buffer-display-table) | ||
| 2394 | (copy-sequence buffer-display-table)) | ||
| 2391 | (unless buffer-display-table | 2395 | (unless buffer-display-table |
| 2392 | (setq buffer-display-table (make-display-table))) | 2396 | (setq buffer-display-table (make-display-table))) |
| 2393 | (dolist (entry whitespace-display-mappings) | 2397 | (dolist (entry whitespace-display-mappings) |