diff options
| author | Richard M. Stallman | 2000-01-11 19:31:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2000-01-11 19:31:26 +0000 |
| commit | 7fbc46a0a2d47e66c17967b359fc75921ef2a3e3 (patch) | |
| tree | 8ed8ddd5a3e943f915b96563b0c97da387be6f48 /lisp/array.el | |
| parent | 782bd3ec53988622095b35083e7cc55f7ced00ae (diff) | |
| download | emacs-7fbc46a0a2d47e66c17967b359fc75921ef2a3e3.tar.gz emacs-7fbc46a0a2d47e66c17967b359fc75921ef2a3e3.zip | |
(array-mode): Don't use make-variable-buffer-local.
Use make-local-variable for `truncate-lines'.
Diffstat (limited to 'lisp/array.el')
| -rw-r--r-- | lisp/array.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/array.el b/lisp/array.el index b1182c7f16e..d6084650a59 100644 --- a/lisp/array.el +++ b/lisp/array.el | |||
| @@ -903,7 +903,7 @@ Entering array mode calls the function `array-mode-hook'." | |||
| 903 | (setq major-mode 'array-mode) | 903 | (setq major-mode 'array-mode) |
| 904 | (setq mode-name "Array") | 904 | (setq mode-name "Array") |
| 905 | (force-mode-line-update) | 905 | (force-mode-line-update) |
| 906 | (make-variable-buffer-local 'truncate-lines) | 906 | (make-local-variable 'truncate-lines) |
| 907 | (setq truncate-lines t) | 907 | (setq truncate-lines t) |
| 908 | (setq overwrite-mode 'overwrite-mode-textual) | 908 | (setq overwrite-mode 'overwrite-mode-textual) |
| 909 | (use-local-map array-mode-map) | 909 | (use-local-map array-mode-map) |