File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 226226 (indent-control-set-indent-level-by-mode
227227 (indent-control--delta-ensure-valid-tab-width indent-level delta-value))))
228228
229- (defun indent-control--prog-mode-hook ()
230- " Programming language mode hook."
231- (indent-control--mute-apply
232- (indent-control-continue-with-record)))
233- (add-hook 'prog-mode-hook #'indent-control--prog-mode-hook )
234-
235229;;;### autoload
236230(defun indent-control-inc-indent-level ()
237231 " Increase indent level by one level."
251245 " Keep the tab width the same as last time modified."
252246 (indent-control-set-indent-level-by-mode (indent-control--indent-level-record)))
253247
248+ (defun indent-control--prog-mode-hook ()
249+ " Programming language mode hook."
250+ (indent-control--mute-apply
251+ (indent-control-continue-with-record)))
252+ (add-hook 'prog-mode-hook #'indent-control--prog-mode-hook )
253+
254254; ; NOTE: Initial the indent level once after module is loaded.
255255;;;### autoload
256256(indent-control-continue-with-record)
You can’t perform that action at this time.
0 commit comments