unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: John W Higgins <wishdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Custom for quit-window?
Date: Fri, 7 Jan 2022 10:20:19 -0800	[thread overview]
Message-ID: <CAPhAwGyrJKcSWYtCg+6WNcn2MTmYqgLOOpbcg16+3ydw2wEjvw@mail.gmail.com> (raw)
In-Reply-To: <20220107180521.7zgkfxro7c7tkdi7@Ergus>

Good Morning,

On Fri, Jan 7, 2022 at 10:07 AM Ergus <spacibba@aol.com> wrote:

> Hi:
>
> Is it there a "simple method" to make quit-window to kill the buffer
> without needing a prefix?
>

I'm not sure I fully understand your situation - but I have this

(global-set-key (kbd "<f9>") 'kill-current-buffer)

in my config - I just hit F9 to kill a buffer and clean up my work area.
Obviously you could pick another key.

My apologies if I completely misunderstood your need here.

John


      parent reply	other threads:[~2022-01-07 18:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220107180521.7zgkfxro7c7tkdi7.ref@Ergus>
2022-01-07 18:05 ` Custom for quit-window? Ergus
2022-01-07 18:11   ` [External] : " Drew Adams
2022-01-08 18:23     ` Ergus
2022-01-09  0:26       ` Drew Adams
2022-01-07 18:20   ` John W Higgins [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPhAwGyrJKcSWYtCg+6WNcn2MTmYqgLOOpbcg16+3ydw2wEjvw@mail.gmail.com \
    --to=wishdev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).