|
From: | Emanuel Berg |
Subject: | Re: Using key q to quit temporary buffer window |
Date: | Wed, 24 Aug 2022 08:45:52 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
uzibalqa wrote: >>> Have done >>> >>> (defun help-show (bfname msg) >>> "Display the output of MSG" >>> >>> (let ( (bfr (get-buffer-create bfname)) ) >>> >>> (when (stringp msg) >>> (with-current-buffer bfr >>> (print msg) >>> (pop-to-buffer bfr))) )) >> >> (let ((buf (get-buffer-create "Test Buffer"))) >> (with-current-buffer buf >> (insert "Lamers 'R Us\n") ) >> (pop-to-buffer buf) ) > > Lastly I need the buffer to quit by hitting `q'. How do a programmer do that? -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |