Commit 5c872b1d authored by Matthias Meulien's avatar Matthias Meulien Committed by Rüdiger Sonderfeld
Browse files

progmodes/prog-mode.el (prog-mode-hook): Made customizable.
parent ddc3fca4
2014-08-08 Matthias Meulien <>
* progmodes/prog-mode.el (prog-mode-hook): Made customizable.
2014-08-07 Martin Rudalics <>
* window.el (window--min-size-1): Explicitly set WINDOW arg in
......@@ -35,6 +35,13 @@
"Generic programming mode, from which others derive."
:group 'languages)
(defcustom prog-mode-hook nil
"Normal hook run when entering Text mode and many related modes."
:type 'hook
:options '(flyspell-prog-mode abbrev-mode flymake-mode linum-mode
:group 'prog-mode)
(defvar prog-mode-map
(let ((map (make-sparse-keymap)))
(define-key map [?\C-\M-q] 'prog-indent-sexp)
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