help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kill other buffer


From: Valentin Plechinger
Subject: Re: kill other buffer
Date: Mon, 22 Apr 2013 23:28:27 +0200

(defun kill-other-buffer ()
  (interactive)
  (other-window 1)
  (kill-this-buffer)
  (other-window 1))

with more windows you'd have to rewrite it, so probably not the most elegant solution


On Mon, Apr 22, 2013 at 11:26 PM, Valentin Plechinger <v.plechinger@gmail.com> wrote:
(defun kill-other-buffer ()
  (interactive)
  (other-window 1)
  (kill-this-buffer)
  (other-window 1))

with more windows you'd have to rewrite it, so probably not the most elegant solution



On Mon, Apr 22, 2013 at 8:58 PM, Rami A <rami.ammari@gmail.com> wrote:
Greetings,
I usually start emacs with split screen horizontally.
I have F3 programmed to kill-this-buffer "kills the current buffer without confirmation"

How would I have [S-F3] programmed to kill the buffer in the other window without confirmation and without deleting the window itself? "I would like to keep emacs split horizontally".

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]