Commit 2d14021a authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'emacs-mode-prog-mode-hooks'

b24b58bb cmake-mode.el: Add support for prog-mode hooks (#15521)
parents f74b524e b24b58bb
...@@ -259,7 +259,9 @@ the indentation. Otherwise it retains the same position on the line" ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment