1. 14 Nov, 2016 1 commit
    • Andres Gomez's avatar
      dir-locals.el: Adds White Space support · 16fabfb3
      Andres Gomez authored
      The White Space package, which is available since GNU Emacs 22, is
      loaded and activated locally in prog-mode and cmake-mode.
      
      Also, 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: python-mode inherits from prog-mode
      v3: 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>
      16fabfb3
  2. 19 Apr, 2016 1 commit