]> git.eshelyaron.com Git - emacs.git/commitdiff
* longlines.el (longlines-mode): Bind after-change-functions to
authorChong Yidong <cyd@stupidchicken.com>
Thu, 27 Oct 2005 01:36:31 +0000 (01:36 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 27 Oct 2005 01:36:31 +0000 (01:36 +0000)
nil during initial decoding and final encoding.

lisp/ChangeLog
lisp/longlines.el

index 0df2b8dd7b2a133e2714f36d70ecb7b1af43b4aa..376823dc7a8587e02c426097bf940d2684b502cd 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-26  Chong Yidong  <cyd@stupidchicken.com>
+
+       * longlines.el (longlines-mode): Bind after-change-functions to
+       nil during initial decoding and final encoding.
+
 2005-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * term.el (term-emulate-terminal, term-handle-colors-array)
index 7f372725b0e6fd2233544167cdade515c54ddb75..4ee85d646e5d40eaa53aa2e91b331a9db63d0695 100644 (file)
@@ -6,7 +6,7 @@
 ;;             Alex Schroeder <alex@gnu.org>
 ;;             Chong Yidong <cyd@stupidchicken.com>
 ;; Maintainer: Chong Yidong <cyd@stupidchicken.com>
-;; Keywords: convenience
+;; Keywords: convenience, wp
 
 ;; This file is part of GNU Emacs.
 
@@ -119,6 +119,7 @@ are indicated with a symbol."
                     'longlines-window-change-function nil t))
         (let ((buffer-undo-list t)
               (inhibit-read-only t)
+             (after-change-functions nil)
               (mod (buffer-modified-p)))
           ;; Turning off undo is OK since (spaces + newlines) is
           ;; conserved, except for a corner case in
@@ -142,6 +143,7 @@ are indicated with a symbol."
     (if longlines-showing
         (longlines-unshow-hard-newlines))
     (let ((buffer-undo-list t)
+         (after-change-functions nil)
           (inhibit-read-only t))
       (save-restriction
        (widen)