comparison lisp/simple.el @ 57146:942b8e28d21a

(fundamental-mode): Run `after-change-major-mode-hook'.
author Luc Teirlinck <teirllm@auburn.edu>
date Sun, 19 Sep 2004 00:02:44 +0000
parents eadbbac38074
children b324ca4df07c 4df500c93e1d 0796fc36c2bd
comparison
equal deleted inserted replaced
57145:26c822f42ae4 57146:942b8e28d21a
280 280
281 (defun fundamental-mode () 281 (defun fundamental-mode ()
282 "Major mode not specialized for anything in particular. 282 "Major mode not specialized for anything in particular.
283 Other major modes are defined by comparison with this one." 283 Other major modes are defined by comparison with this one."
284 (interactive) 284 (interactive)
285 (kill-all-local-variables)) 285 (kill-all-local-variables)
286 (run-hooks 'after-change-major-mode-hook))
286 287
287 ;; Making and deleting lines. 288 ;; Making and deleting lines.
288 289
289 (defun newline (&optional arg) 290 (defun newline (&optional arg)
290 "Insert a newline, and move to left margin of the new line if it's blank. 291 "Insert a newline, and move to left margin of the new line if it's blank.