New answers tagged


To apply an elisp function to multiple files without any packages you can use eshell. Go to the directory containing files and run a create a bash-like expression to match the filenames like *c. Then create a for loop to open the file and apply the function and save the file. ~ $ for file in *c { (progn (find-file file) (whitespace-cleanup) (save-buffer)) }


The easiest, and I think best, way to get behavior similar to what you describe is to customize option help-window-select to non-nil (M-x customize-option help-window-select). If you do that then when a *Help* window is displayed it is selected (gets the focus). So you can just hit q. (This doesn't work for all help commands, but it works for most. It works ...


The functions that bring up the *Help* window will sometimes move you to that window and sometimes not. That depends among other things on how many windows you had open before. In the common case where you only had one window it will stay there, since it's so easy to remove the other window with C-x 1 then. You get a message like Type C-x 1 to delete the ...

Top 50 recent answers are included