New answers tagged

0 votes

Can't get rid of scratch buffer at startup for Emacs 26.3

Using window-buffer-change-functions I finally got rid of *scratch*. (defun buffer-change-hook (frame) (unless (string-equal (buffer-name (current-buffer)) "*scratch*") (kill-buffer &...
Nikolay Hidalgo Diaz's user avatar
2 votes

What's an easy way to view a copy of a text buffer as a hexl buffer

Is there a simpler way? No, I think you have that correctly. Something like this, then: (defun hexl-me-this () "Open a copy of the current buffer in `hexl-mode'." (interactive) (...
phils's user avatar
  • 50.5k

Top 50 recent answers are included