Changes between Version 25 and Version 26 of Emacs


Ignore:
Timestamp:
Oct 10, 2013 5:35:46 PM (22 months ago)
Author:
thoughtpolice
Comment:

Add note about M-x untabify-buffer

Legend:

Unmodified
Added
Removed
Modified
  • Emacs

    v25 v26  
    152152}}}
    153153
     154== Untabifying a buffer.
     155
     156'''Description''': Slowly, GHC is moving away from tabs. After modifying a file and committing the changes, we tend to detab the file completely, and set `-fwarn-tabs` to make sure they don't slip in again. Normally it's convenient to immediately detab the file and commit that afterwords, while the buffer is open
     157
     158'''How to enable''':
     159Add this to your configuration, and afterwords you can run `M-x untabify-buffer` to nuke all the tabs:
     160
     161{{{#!elisp
     162(defun untabify-buffer ()
     163  "Untabify current buffer."
     164  (interactive)
     165  (save-excursion (untabify (point-min) (point-max))))
     166}}}
    154167= Haskell-specific
    155168