summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-03-24 23:10:13 +0100
committerAlan Pearce2016-03-24 23:10:13 +0100
commit94fa9d4f837d1363bf4aaa0f2afb5fbc9a91b81f (patch)
treed206b1299d625aa6eb82dd1d9ff99e23a0e42444
parent3af4144817cde07e4eff1e9c1ba1bbf89cb071e6 (diff)
downloadnixfiles-94fa9d4f837d1363bf4aaa0f2afb5fbc9a91b81f.tar.lz
nixfiles-94fa9d4f837d1363bf4aaa0f2afb5fbc9a91b81f.tar.zst
nixfiles-94fa9d4f837d1363bf4aaa0f2afb5fbc9a91b81f.zip
Emacs: Remove toggle-window-dedicated
I don’t think I ever used it
-rw-r--r--tag-emacs/emacs.d/init.org16
1 files changed, 0 insertions, 16 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 5f5b2958..a38eede0 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.