Skip to content

Commit 0eac307

Browse files
committed
Don't delete 'trailing form whitespace-style after all.
`whitespace-style` not only decides what kind of whitespace gets highlighted by `whitespace-mode` but also what kind of whitespace gets removed by `whitespace-cleanup`.
1 parent 493acf4 commit 0eac307

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drupal/phpcs.el

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ need to highlight it twice."
6060
(defun drupal/phpcs-dont-show-trailing-whitespace ()
6161
"Turn of various trailing white space highlighting."
6262
(when drupal/phpcs-dont-show-trailing-whitespace
63-
(when (boundp 'whitespace-style)
64-
(set (make-local-variable 'whitespace-style) (remove 'trailing whitespace-style)))
6563
(setq show-trailing-whitespace nil)))
6664

6765
(provide 'drupal/phpcs)

0 commit comments

Comments
 (0)