diff --git a/.emacs.d/config/base.el b/.emacs.d/config/base.el index ab9148d..874e284 100644 --- a/.emacs.d/config/base.el +++ b/.emacs.d/config/base.el @@ -20,7 +20,7 @@ ;; syntax coloring (global-font-lock-mode t) -;; syntax coloring +;; show end of fill-column length (global-display-fill-column-indicator-mode t) ;; paren matching diff --git a/.emacs.d/config/c.el b/.emacs.d/config/c.el index 5f0efc4..f013035 100644 --- a/.emacs.d/config/c.el +++ b/.emacs.d/config/c.el @@ -1,8 +1,3 @@ ;; set c style to linux and indention to 2 (setq c-default-style "linux" c-basic-offset 2) - -;; set max line length to 100 -(add-hook 'c-mode-hook - (lambda () - (set-fill-column 100)))