summaryrefslogtreecommitdiff
path: root/lisp/international
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-11-16 22:37:04 +0000
committerRichard M. Stallman <rms@gnu.org>2004-11-16 22:37:04 +0000
commitde5ffeadde3cf9ac72fbc58f840e0ebfce13abf6 (patch)
tree96a5b25d45f547acd0257b6b27cd6492a15e47da /lisp/international
parent724cde0d1d4e455b72a33689c56d86d3edf8faa6 (diff)
downloademacs-de5ffeadde3cf9ac72fbc58f840e0ebfce13abf6.tar.gz
(set-buffer-file-coding-system): Finish previous change.
Diffstat (limited to 'lisp/international')
-rw-r--r--lisp/international/mule.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 5477402a9ba..bec20a66df5 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1162,7 +1162,8 @@ just set the variable `buffer-file-coding-system' directly."
;; `set-buffer-major-mode-hook' take care of setting the table.
(if (fboundp 'ucs-set-table-for-input) ; don't lose when building
(ucs-set-table-for-input))
- (set-buffer-modified-p t)
+ (unless nomodify
+ (set-buffer-modified-p t))
(force-mode-line-update))
(defun revert-buffer-with-coding-system (coding-system &optional force)