* whitespace.el (whitespace-enable-predicate): fix sense of comment.

Fixes bug #16564, from change of 2013-03-10.
This commit is contained in:
Reuben Thomas 2014-01-27 12:30:17 +00:00
parent 56420a1562
commit d269bb9964
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-01-27 Reuben Thomas <rrt@sc3d.org>
* whitespace.el (whitespace-enable-predicate): fix sense of comment.
Fixes bug #16564, from change of 2013-03-10.
2014-01-27 Glenn Morris <rgm@gnu.org>
* shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.

View file

@ -1084,7 +1084,7 @@ See also `whitespace-style', `whitespace-newline' and
(not (memq major-mode (cdr whitespace-global-modes)))
(memq major-mode whitespace-global-modes)))
(t nil))
;; ...we have a display (we're running a batch job)
;; ...we have a display (not running a batch job)
(not noninteractive)
;; ...the buffer is not internal (name starts with a space)
(not (eq (aref (buffer-name) 0) ?\ ))