Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a145b41c
Commit
a145b41c
authored
Oct 27, 2005
by
Chong Yidong
Browse files
* longlines.el (longlines-mode): Bind after-change-functions to
nil during initial decoding and final encoding.
parent
581e7427
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/longlines.el
lisp/longlines.el
+3
-1
No files found.
lisp/ChangeLog
View file @
a145b41c
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)
...
...
lisp/longlines.el
View file @
a145b41c
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment