diff options
author | Lute Kamstra <lute@gnu.org> | 2005-05-26 12:16:05 +0000 |
---|---|---|
committer | Lute Kamstra <lute@gnu.org> | 2005-05-26 12:16:05 +0000 |
commit | e3e4b1f233ec3d7875ba8ceca8d534b148e15b49 (patch) | |
tree | 20acf253681418104404604b7e04242c88720a6b /lisp/array.el | |
parent | 21a88c56b3223ef150632d012e2003ebbaf7130e (diff) | |
download | emacs-e3e4b1f233ec3d7875ba8ceca8d534b148e15b49.tar.gz |
(array-mode): Use kill-all-local-variables and run-mode-hooks.
Diffstat (limited to 'lisp/array.el')
-rw-r--r-- | lisp/array.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/array.el b/lisp/array.el index f65f14ac550..2f270d0f086 100644 --- a/lisp/array.el +++ b/lisp/array.el @@ -872,6 +872,7 @@ take a numeric prefix argument): Entering array mode calls the function `array-mode-hook'." (interactive) + (kill-all-local-variables) ;; Number of rows in the array. (make-local-variable 'array-max-row) ;; Number of columns in the array. @@ -907,7 +908,7 @@ Entering array mode calls the function `array-mode-hook'." (setq truncate-lines t) (setq overwrite-mode 'overwrite-mode-textual) (use-local-map array-mode-map) - (run-hooks 'array-mode-hook)) + (run-mode-hooks 'array-mode-hook)) |