aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2008-01-31 20:08:51 +0000
committerDavid Aspinall2008-01-31 20:08:51 +0000
commitf7ac8fc315a22e5fa949ca33f0fe1e66d156eca1 (patch)
treee4276eb6dca41fd3eecd9f40afb7c687378db26b
parentf4a114405c371bd69951100557d46115e2c0ea57 (diff)
Add nomodify argument to set-buffer-file-coding-system call, to
prevent buffer modification when switching X-Symbol on (seen on Carbon Emacs 22.1.50.1)
-rw-r--r--x-symbol/lisp/x-symbol.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/x-symbol/lisp/x-symbol.el b/x-symbol/lisp/x-symbol.el
index 6381dcec..f7618178 100644
--- a/x-symbol/lisp/x-symbol.el
+++ b/x-symbol/lisp/x-symbol.el
@@ -1436,7 +1436,7 @@ command `x-symbol-mode' for details."
(iso-latin-3 . iso-8859-3)
(iso-latin-9 . iso-8859-9)
(iso-latin-15 . iso-8859-15))))))
- (if cs (set-buffer-file-coding-system cs)))))
+ (if cs (set-buffer-file-coding-system cs nil t)))))
(if x-symbol-mode (x-symbol-init-font-lock))
(if conversion
(let ((modified (buffer-modified-p))