* other-window.el
@ 2023-01-15 13:30 Emanuel Berg
0 siblings, 0 replies; only message in thread
From: Emanuel Berg @ 2023-01-15 13:30 UTC (permalink / raw)
To: help-gnu-emacs
Made it use itself ... (yuk)
;;; -*- lexical-binding: t -*-
;;
;; this file:
;; https://dataswamp.org/~incal/emacs-init/window-other.el
(defmacro in-other-window (&rest body)
`(let ((buf (window-buffer (next-window))))
(when (bufferp buf)
(with-current-buffer buf
,@body) )))
(defun apply-in-other-window (fn &rest args)
(in-other-window
(apply fn args) ))
(provide 'window-other)
--
underground experts united
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-15 13:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-15 13:30 other-window.el Emanuel Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).