What is the key sequence for closing the current buffer in Emacs? You can use C-x k to kill current buffer. See Emacs Manual . Related Posts: How to set the font size in Emacs? How do I make Emacs auto-indent my C code? How to copy/select a whole file or buffer in Emacs? Emacs shortcut to go to a specific line in a file Where does this come from: -*- coding: utf-8 -*- How to open Emacs inside Bash