]> git.eshelyaron.com Git - emacs.git/commitdiff
Asure buffer-display-table is unique when two or more windows are visible.
authorVinicius Jose Latorre <viniciusjl@ig.com.br>
Fri, 11 Dec 2009 01:04:55 +0000 (01:04 +0000)
committerVinicius Jose Latorre <viniciusjl@ig.com.br>
Fri, 11 Dec 2009 01:04:55 +0000 (01:04 +0000)
lisp/ChangeLog
lisp/whitespace.el

index 5e932476fbfb626079db779acede7f2442bf8f61..8ce630f30b2b3863544088669eaf1f0c0aec4d71 100644 (file)
@@ -1,3 +1,10 @@
+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
index 56eebd7f47ec39200b8e3a6d60ce4d0cf689f517..3af0afb8b26f3130613aff0452a9a95f9f9a123f 100644 (file)
@@ -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)