mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
(array-mode): Use kill-all-local-variables and run-mode-hooks.
This commit is contained in:
parent
21a88c56b3
commit
e3e4b1f233
1 changed files with 2 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue