diff --git a/init.el b/init.el index 4369c85..eb9c1b5 100644 --- a/init.el +++ b/init.el @@ -49,6 +49,12 @@ ) +;; Diminish some built-in modes that we don't really care about: + +(add-hook 'eldoc-mode-hook (lambda () (diminish 'eldoc-mode))) +(add-hook 'hs-minor-mode-hook (lambda () (diminish 'hs-minor-mode))) + + ;; Load all user-defined configuration files: (load-user-file "editor.el") diff --git a/interface.el b/interface.el index 6118b8d..cb49771 100644 --- a/interface.el +++ b/interface.el @@ -19,6 +19,9 @@ scroll-margin 0 scroll-preserve-screen-position 1) +;; Hide the frame identifier in the mode line. +(setq mode-line-frame-identification " ") + ;; Display the column and line numbers of the cursor in the mode line. (column-number-mode) diff --git a/key-bindings.el b/key-bindings.el index 0d8cf7e..2109d82 100644 --- a/key-bindings.el +++ b/key-bindings.el @@ -10,6 +10,5 @@ ;; Enable code folding in programming modes, and set some more reasonable ;; shortcuts. (add-hook 'prog-mode-hook #'hs-minor-mode) -(add-hook 'hs-minor-mode-hook (lambda () (diminish 'hs-minor-mode))) (global-set-key (kbd "C-c C-h") (kbd "C-c @ C-h")) ; Hide a block (global-set-key (kbd "C-c C-s") (kbd "C-c @ C-s")) ; Show a block