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

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

How to detach buffer?


From: Matthias Pfeifer
Subject: How to detach buffer?
Date: Fri, 04 Jan 2008 16:24:09 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20060911)

Hello,

is it possible to detach a buffer from a multi-window frame? Talking elisp

(defun detach-buffer ()
 (interactive)
 (let ((buf (current-buffer)))
   (delete-window)
   (select-frame (make-frame))
   (set-window-buffer (selected-window) buf)
   )
 )

So even the question seems answered i actually like to know if i
reinvent the wheel. ie is a function like my detach-buffer already
available?

matthias


reply via email to

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