1. 14 Nov, 2016 1 commit
    • Andres Gomez's avatar
      dir-locals.el: Adds White Space support · 5923088d
      Andres Gomez authored
      Trailing white spaces will be now always highlighted, not just in
      prog-mode.
      
      Also, the White Space package, which is available since GNU Emacs 22,
      is loaded and activated locally in prog-mode.
      
      Additionally, using White Space variables, we set highlighting through
      faces on wrong indentation and the maximum length of a coding line.
      
      Notice that:
       - The highlighting for the characters beyond the set length of a
         coding line is not activated by default, only for wrong
         indentations.
       - If the White Space package is not available, errors on loading or
         activation are ignored.
       - If the White Space mode is not activated the set variables would
         not have any effect.
      
      v2: Removed too long lines trail highlighting, as suggested by Ilia
          Mirkin.
      Signed-off-by: Andres Gomez's avatarAndres Gomez <agomez@igalia.com>
      Acked-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
      5923088d
  2. 03 Feb, 2016 1 commit
  3. 02 Feb, 2015 1 commit
    • Neil Roberts's avatar
      dir-locals.el: Don't set variables for non-programming modes · af8fd694
      Neil Roberts authored
      This limits the style changes to modes inherited from prog-mode. The
      main reason to do this is to avoid setting fill-column for people
      using Emacs to edit commit messages because 78 characters is too many
      to make it wrap properly in git log. Note that makefile-mode also
      inherits from prog-mode so the fill column should continue to apply
      there.
      
      v2: Apply to all the .dir-locals.el files, not just the one in the
          root directory.
      Acked-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
      af8fd694
  4. 29 Jan, 2014 1 commit
  5. 11 Jul, 2012 1 commit
  6. 21 Jun, 2012 1 commit
  7. 24 Jun, 2010 1 commit
  8. 08 Mar, 2010 1 commit
  9. 22 Feb, 2010 1 commit