From 94fa9d4f837d1363bf4aaa0f2afb5fbc9a91b81f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 24 Mar 2016 23:10:13 +0100 Subject: Emacs: Remove toggle-window-dedicated I don’t think I ever used it --- tag-emacs/emacs.d/init.org | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'tag-emacs/emacs.d') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 5f5b295..a38eede 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -848,22 +848,6 @@ point whilst I’m moving about. (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. -- cgit 1.4.1