Comments on buffer-move.el

When one of the swapping buffers is in a dedicated window, only the other buffer is changed. So, to avoid that behavior I did this improvement:

http://paste.lisp.org/display/142515

81a83,84

>       (if (window-dedicated-p other-win)
> 	  (error "The window above this one is dedicated"))

98a102,103

>       (if (window-dedicated-p other-win)
> 	  (error "The window under this one is dedicated"))

114a120,121

>       (if (window-dedicated-p other-win)
> 	  (error "The left split is dedicated"))

130a138,139

>       (if (window-dedicated-p other-win)
> 	  (error "The right split is dedicated"))

geyslan 2014-05-14 03:12 UTC


It’ll be nice if you could patch the official one.

geyslan 2014-05-14 03:14 UTC


Please make sure you contribute only your own work. IP numbers are made available via the page history. If you want to keep it a secret, you need to use Tor. See TextFormattingRules for how to format text. See StyleGuide for the suggested writing style on this wiki.

To save this page you must answer this question:

What is the greatest editor out there?