mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +00:00
Sometimes needed
This commit is contained in:
parent
6da5fe41b2
commit
16cae6d738
1 changed files with 4 additions and 4 deletions
|
|
@ -295,7 +295,7 @@
|
||||||
#+end_src
|
#+end_src
|
||||||
* navigation
|
* navigation
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defun update-window-third-height (&optional arg)
|
(defun update-window-third-height (&optional arg &rest ignore)
|
||||||
(let ((win
|
(let ((win
|
||||||
(cond ((framep arg)
|
(cond ((framep arg)
|
||||||
(frame-selected-window arg))
|
(frame-selected-window arg))
|
||||||
|
|
@ -315,9 +315,9 @@
|
||||||
(add-hook 'window-configuration-change-hook
|
(add-hook 'window-configuration-change-hook
|
||||||
#'update-window-third-height)
|
#'update-window-third-height)
|
||||||
|
|
||||||
;; (advice-add #'select-window
|
(advice-add #'select-window
|
||||||
;; :after
|
:after
|
||||||
;; 'update-window-third-height)
|
'update-window-third-height)
|
||||||
|
|
||||||
;; Word navigation
|
;; Word navigation
|
||||||
(global-set-key (kbd "M-f") 'forward-to-word)
|
(global-set-key (kbd "M-f") 'forward-to-word)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue