Merge topic 'emacs-mode-prog-mode-hooks'
b24b58bb
cmake-mode.el: Add support for prog-mode hooks (#15521)
This commit is contained in:
commit
2d14021a85
|
@ -259,7 +259,9 @@ the indentation. Otherwise it retains the same position on the line"
|
||||||
(setq comment-start "#")
|
(setq comment-start "#")
|
||||||
|
|
||||||
; Run user hooks.
|
; Run user hooks.
|
||||||
(run-hooks 'cmake-mode-hook))
|
(if (boundp 'prog-mode-hook)
|
||||||
|
(run-hooks 'prog-mode-hook 'cmake-mode-hook)
|
||||||
|
(run-hooks 'cmake-mode-hook)))
|
||||||
|
|
||||||
; Help mode starts here
|
; Help mode starts here
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue