summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2000-01-11 19:31:26 +0000
committerRichard M. Stallman <rms@gnu.org>2000-01-11 19:31:26 +0000
commit7fbc46a0a2d47e66c17967b359fc75921ef2a3e3 (patch)
tree8ed8ddd5a3e943f915b96563b0c97da387be6f48 /lisp
parent782bd3ec53988622095b35083e7cc55f7ced00ae (diff)
downloademacs-7fbc46a0a2d47e66c17967b359fc75921ef2a3e3.tar.gz
(array-mode): Don't use make-variable-buffer-local.
Use make-local-variable for `truncate-lines'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/array.el2
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'."
(setq major-mode 'array-mode)
(setq mode-name "Array")
(force-mode-line-update)
- (make-variable-buffer-local 'truncate-lines)
+ (make-local-variable 'truncate-lines)
(setq truncate-lines t)
(setq overwrite-mode 'overwrite-mode-textual)
(use-local-map array-mode-map)