Mercurial > emacs
changeset 66465:9a896c723ab2
* longlines.el (longlines-mode): Bind after-change-functions to
nil during initial decoding and final encoding.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 27 Oct 2005 01:36:31 +0000 |
parents | 7e8b1219a7db |
children | e42fadc4969b |
files | lisp/ChangeLog lisp/longlines.el |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Oct 27 00:45:44 2005 +0000 +++ b/lisp/ChangeLog Thu Oct 27 01:36:31 2005 +0000 @@ -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)
--- a/lisp/longlines.el Thu Oct 27 00:45:44 2005 +0000 +++ b/lisp/longlines.el Thu Oct 27 01:36:31 2005 +0000 @@ -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 @@ '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 @@ (if longlines-showing (longlines-unshow-hard-newlines)) (let ((buffer-undo-list t) + (after-change-functions nil) (inhibit-read-only t)) (save-restriction (widen)