all repos — nixfiles @ 94fa9d4f837d1363bf4aaa0f2afb5fbc9a91b81f

System and user configuration, managed by nix and home-manager

Emacs: Remove toggle-window-dedicated I don’t think I ever used it

Alan Pearce
commit

94fa9d4f837d1363bf4aaa0f2afb5fbc9a91b81f

parent

3af4144817cde07e4eff1e9c1ba1bbf89cb071e6

1 file changed, 0 insertions(+), 16 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -848,22 +848,6 @@ (if (boundp 'ns-pop-up-frames)
(setq ns-pop-up-frames nil)) #+END_SRC -A dedicated window always keeps the same buffer in view. - -#+BEGIN_SRC emacs-lisp -(defun toggle-window-dedicated () - "Toggle whether the current active window is dedicated or not" - (interactive) - (message - "Window '%s' is %s" - (current-buffer) - (if (let ((window (get-buffer-window (current-buffer)))) - (set-window-dedicated-p window - (not (window-dedicated-p window)))) - "dedicated" - "normal"))) -#+END_SRC - ** winner Undo, for window-based commands.