enable display-fill-column-indicator-mode for all c-mode
This commit is contained in:
1 file changed
+5
@@ -110,6 +110,11 @@
|
||||
;; don't make too many dired buffer
|
||||
(put 'dired-find-alternate-file 'disabled nil))
|
||||
|
||||
(add-hook 'display-fill-column-indicator-mode-hook
|
||||
(lambda ()
|
||||
(setq fill-column 80)))
|
||||
|
||||
(add-hook 'c-mode-common-hook #'display-fill-column-indicator-mode)
|
||||
|
||||
(unless (featurep 'server) (require 'server))
|
||||
(unless (server-running-p) (server-start))
|
||||
|
||||
Reference in new issue
Block a user