In Emacs how can I go back to the last buffer I was editing in ELisp?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
If you changed the buffer in ELisp code, the proper way to go back to the previous buffer is to use
|
|||
|
|
|
In emacs you would do "Ctrl-x b" to do that, so to find the Elisp function, do "Ctrl-h k" followed by "ctrl-x b" and you'll get: [...] (switch-to-buffer BUFFER-OR-NAME &optional NORECORD) Make BUFFER-OR-NAME current and display it in selected window. BUFFER-OR-NAME may be a buffer, a string (a buffer name), or nil. Return the buffer switched to. [...] which should do what you want ;) |
|||
|
|