emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ChangeLog whitespace.el


From: Vinicius Jose Latorre
Subject: [Emacs-diffs] emacs/lisp ChangeLog whitespace.el
Date: Fri, 11 Dec 2009 01:00:58 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Vinicius Jose Latorre <viniciusjl>      09/12/11 01:00:57

Modified files:
        lisp           : ChangeLog whitespace.el 

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

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16882&r2=1.16883
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/whitespace.el?cvsroot=emacs&r1=1.97&r2=1.98

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16882
retrieving revision 1.16883
diff -u -b -r1.16882 -r1.16883
--- ChangeLog   10 Dec 2009 19:25:36 -0000      1.16882
+++ ChangeLog   11 Dec 2009 01:00:52 -0000      1.16883
@@ -1,3 +1,9 @@
+2009-12-10  Vinicius Jose Latorre  <address@hidden>
+
+       * whitespace.el (whitespace-display-char-on): Asure
+       `buffer-display-table' is unique when two or more windows are
+       visible.  Reported by Martin Pohlack <address@hidden>.
+
 2009-12-10  Eli Zaretskii  <address@hidden>
 
        * arc-mode.el (archive-rar-summarize): Allow between 6 and 7

Index: whitespace.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/whitespace.el,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -b -r1.97 -r1.98
--- whitespace.el       10 Dec 2009 22:58:40 -0000      1.97
+++ whitespace.el       11 Dec 2009 01:00:56 -0000      1.98
@@ -6,7 +6,7 @@
 ;; Author: Vinicius Jose Latorre <address@hidden>
 ;; Maintainer: Vinicius Jose Latorre <address@hidden>
 ;; 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 @@
        (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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]