comparison lisp/progmodes/make-mode.el @ 62525:10a127a02c08

(makefile-mode): Use run-mode-hooks.
author Richard M. Stallman <rms@gnu.org>
date Thu, 19 May 2005 15:46:00 +0000
parents c50200e8e7e8
children f09fbe52c543 f042e7c0fe20
comparison
equal deleted inserted replaced
62524:b54077faa74a 62525:10a127a02c08
829 (use-local-map makefile-mode-map) 829 (use-local-map makefile-mode-map)
830 (set-syntax-table makefile-mode-syntax-table) 830 (set-syntax-table makefile-mode-syntax-table)
831 831
832 ;; Real TABs are important in makefiles 832 ;; Real TABs are important in makefiles
833 (setq indent-tabs-mode t) 833 (setq indent-tabs-mode t)
834 (run-hooks 'makefile-mode-hook)) 834 (run-mode-hooks 'makefile-mode-hook))
835 835
836 ;; These should do more than just differentiate font-lock. 836 ;; These should do more than just differentiate font-lock.
837 ;;;###autoload 837 ;;;###autoload
838 (define-derived-mode makefile-automake-mode makefile-mode "Makefile.am" 838 (define-derived-mode makefile-automake-mode makefile-mode "Makefile.am"
839 "An adapted `makefile-mode' that knows about automake." 839 "An adapted `makefile-mode' that knows about automake."