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.

https://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00353.html
parent ddc3fca4
2014-08-08 Matthias Meulien <orontee@gmail.com>
* progmodes/prog-mode.el (prog-mode-hook): Made customizable.
2014-08-07 Martin Rudalics <rudalics@gmx.at>
 
* 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
prettify-symbols-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