[Emacs] Fix obsolete variables and unused code

This commit is contained in:
Lucien Cartier-Tilet 2021-11-08 14:25:17 +01:00
parent 6e8ec734c4
commit 3a593225d6
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -578,18 +578,12 @@ focus the new window immediately.
(defun split-window-right-and-focus () (defun split-window-right-and-focus ()
(interactive) (interactive)
(split-window-right) (split-window-right)
(windmove-right) (windmove-right))
(when (and (boundp 'golden-ratio-mode)
(symbol-value golden-ratio-mode))
(golden-ratio)))
(defun split-window-below-and-focus () (defun split-window-below-and-focus ()
(interactive) (interactive)
(split-window-below) (split-window-below)
(windmove-down) (windmove-down))
(when (and (boundp 'golden-ratio-mode)
(symbol-value golden-ratio-mode))
(golden-ratio)))
#+end_src #+end_src
*** ~phundrak/toggle-org-src-window-split~ *** ~phundrak/toggle-org-src-window-split~
@ -947,7 +941,7 @@ windows.
;; `company-auto-complete-chars' is typed. This is too ;; `company-auto-complete-chars' is typed. This is too
;; magical. We already have the much more explicit RET and ;; magical. We already have the much more explicit RET and
;; TAB. ;; TAB.
company-auto-complete nil company-auto-commit nil
company-auto-complete-chars nil company-auto-complete-chars nil
;; Only search the current buffer for `company-dabbrev' (a ;; Only search the current buffer for `company-dabbrev' (a
@ -1418,7 +1412,7 @@ and how to retrieve them.
#+name: mu4e-mail-on-machine #+name: mu4e-mail-on-machine
#+begin_src emacs-lisp :tangle no #+begin_src emacs-lisp :tangle no
(setq mu4e-get-mail-command "mbsync -a" (setq mu4e-get-mail-command "mbsync -a"
mu4e-maildir "~/Mail" mu4e-root-maildir "~/Mail"
mu4e-trash-folder "/Trash" mu4e-trash-folder "/Trash"
mu4e-refile-folder "/Archive" mu4e-refile-folder "/Archive"
mu4e-sent-folder "/Sent" mu4e-sent-folder "/Sent"