Delete blank lines in emacs


/ Published in: Emacs Lisp
Save to your folder(s)



Copy this code and paste it in your HTML
  1. M-x replace-regexp
  2. In the "where" part type: C-q C-j C-q C-j +
  3. In the "with" part type: C-q C-j

URL: http://lispy.wordpress.com/2007/06/07/using-query-replace-regexp-to-remove-blank-lines-from-a-file-in-emacs/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.