[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/golden-ratio 8f1cd6c9fd 38/95: * golden-ratio.el: make gol
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/golden-ratio 8f1cd6c9fd 38/95: * golden-ratio.el: make golden-ratio-mode global and recenter window. |
Date: |
Thu, 7 Sep 2023 22:02:12 -0400 (EDT) |
branch: elpa/golden-ratio
commit 8f1cd6c9fd74f9d811f97cbbcbb9bbf16cd4ec49
Author: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Commit: Thierry Volpiatto <thierry.volpiatto@gmail.com>
* golden-ratio.el: make golden-ratio-mode global and recenter window.
---
golden-ratio.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/golden-ratio.el b/golden-ratio.el
index 5782b77a34..468103ebe0 100644
--- a/golden-ratio.el
+++ b/golden-ratio.el
@@ -96,7 +96,8 @@ will not cause the window to be resized to the golden ratio."
always (funcall fun))))
(let ((dims (golden-ratio--dimensions)))
(golden-ratio--resize-window dims)
- (scroll-left))))
+ (scroll-left)
+ (recenter))))
;; Should return nil
(defadvice other-window
@@ -112,6 +113,7 @@ will not cause the window to be resized to the golden
ratio."
(define-minor-mode golden-ratio-mode
"Enable automatic window resizing with golden ratio."
:lighter " Golden"
+ :global t
(if golden-ratio-mode
(progn
(add-hook 'window-configuration-change-hook 'golden-ratio)
- [nongnu] elpa/golden-ratio 007911d8a4 89/95: Merge pull request #62 from arbelt/persp-fix, (continued)
- [nongnu] elpa/golden-ratio 007911d8a4 89/95: Merge pull request #62 from arbelt/persp-fix, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 0ea8c89807 90/95: Add license header, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 362ab0ede7 91/95: Bump version to 1.0.1, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 3d93baf3c0 94/95: Merge pull request #92 from shouya/minimal-change, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 650121be18 18/95: Support exclusions based on buffer name or major mode, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 9843ca2239 20/95: Merge pull request #15 from hickinbottoms/feature/add-exemptions, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio feddcbe68b 21/95: Merge remote-tracking branch 'upstream/master', ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio ef6f8ce72d 22/95: Support exclusions based on inhabit function, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio af7c754985 24/95: Added advice on `delete-window`, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 550fb22580 32/95: * golden-ratio.el (window-width-after-balance, window-height-after-balance): new, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 8f1cd6c9fd 38/95: * golden-ratio.el: make golden-ratio-mode global and recenter window.,
ELPA Syncer <=
- [nongnu] elpa/golden-ratio 95a0633733 43/95: * golden-ratio.el: Finally allow reusing balance-windows safely. Most issues fixed now., ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 549f94c2db 44/95: * golden-ratio.el: Clean up, add some commands. Ready to merge., ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio ac6ca479cc 47/95: (golden-ratio): use thereis in golden-ratio-inhibit-functions., ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 807c441682 46/95: Add one extra advice to golden-ratio for window-numbering.el support, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio ef1fba5902 50/95: * README.md: Update, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio f4c0dbb164 52/95: Revert "Add one extra advice to golden-ratio for window-numbering.el support", ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 33aa083b66 56/95: Merge pull request #33 from thierryvolpiatto/master, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio cbd076aa12 62/95: Merge pull request #34 from hickinbottoms/fix-mouse-window-select, ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 6173b7c416 64/95: Prevent recenter error in post-command-hook for emacs-25., ELPA Syncer, 2023/09/07
- [nongnu] elpa/golden-ratio 64ceb4f0c8 68/95: Added widescreens header to readme., ELPA Syncer, 2023/09/07