dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

commit dfb9342c6f09ed06ccd5e3af6050dbdece472590
parent cedf62e570f1ef51d0d86817a0ff25795d6445bd
Author: Lukas Henkel <lh@entf.net>
Date:   Mon, 16 May 2022 19:23:02 +0200

Pop out buffer in new frame

Diffstat:
Minit.el | 1+
Mlisp/lh.el | 5+++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/init.el b/init.el @@ -133,6 +133,7 @@ ("C-# n" . mc/mark-next-like-this) ("C-# p" . mc/mark-previous-like-this) + ("C-c p" . lh/pop-out-buffer) ("C-c n" . lh/buffer-create-new) ("C-c i j" . lh/insert-json-encoded) diff --git a/lisp/lh.el b/lisp/lh.el @@ -97,4 +97,9 @@ (setq-local buffer-offer-save t) buf)) +(defun lh/pop-out-buffer () + (interactive) + (make-frame) + (switch-to-prev-buffer)) + (provide 'lh)