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

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

Re: two windows switch buffer


From: henry atting
Subject: Re: two windows switch buffer
Date: Sat, 18 Jan 2014 18:07:52 +0100

> (defun my-find-file-delete-other-windows ()
>   ""
>   (interactive)
>    (prog1
>    (call-interactively 'find-file)
>    (delete-other-windows)))

Thanks! I changed it slightly

(defun my-buffer-switch ()
  ""
  (interactive)
   (prog1
   (call-interactively 'switch-to-buffer)
   (delete-other-windows)))


When I want my two windows back I think I have to use register which you
already pointed out. Unfortunately I do not like register, I will not
use it.
Thanks anyway!


reply via email to

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