diff options
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r-- | emacs/.emacs.d/init.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index bbbaf9d..6794388 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -141,10 +141,6 @@ MODE1 is enabled and vice-versa." "Set the `disabled' property for each item in FUNCTIONS to nil." (mapc #'(lambda (f) (put f 'disabled nil)) functions)) -(defun oni:markdown-mode-func () - "Function for `markdown-mode-hook'." - (setq-local whitespace-style '(face trailing))) - (defun oni:maybe-fci-mode () "Turn on `fci-mode' if there is a filename for the buffer." (when (buffer-file-name) @@ -1036,7 +1032,7 @@ If no direction is given, don't split." (oni:add-hooks 'lua-mode-hook 'oni:set-keys-for-lua) (oni:add-hooks 'markdown-mode-hook - #'whitespace-mode #'oni:markdown-mode-func) + #'whitespace-mode 'oni:show-trailing-whitespace) (oni:add-hooks 'php-mode-hook #'oni:php-mode-func) |