emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode 0eac30704b 167/308: Don't delete `'trailing` f


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 0eac30704b 167/308: Don't delete `'trailing` form `whitespace-style` after all.
Date: Tue, 25 Jan 2022 10:59:44 -0500 (EST)

branch: elpa/drupal-mode
commit 0eac30704b0cbe214cfe017c148b6a420f8f1834
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>

    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`.
---
 drupal/phpcs.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drupal/phpcs.el b/drupal/phpcs.el
index d8890305d8..723f9fa32f 100644
--- a/drupal/phpcs.el
+++ b/drupal/phpcs.el
@@ -60,8 +60,6 @@ need to highlight it twice."
 (defun drupal/phpcs-dont-show-trailing-whitespace ()
   "Turn of various trailing white space highlighting."
   (when drupal/phpcs-dont-show-trailing-whitespace
-    (when (boundp 'whitespace-style)
-      (set (make-local-variable 'whitespace-style) (remove 'trailing 
whitespace-style)))
     (setq show-trailing-whitespace nil)))
 
 (provide 'drupal/phpcs)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]