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

[lintian] 04/04: checks/cruft.desc: file-contains-trailing-whitespace += "M-x wh-cl"



This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository lintian.

commit 777f1b206fca6fb17173213b3022bf57c665b3b3
Author: Axel Beckert <abe@deuxchevaux.org>
Date:   Tue Nov 14 05:07:59 2017 +0100

    checks/cruft.desc: file-contains-trailing-whitespace += "M-x wh-cl"
---
 checks/cruft.desc | 2 ++
 debian/changelog  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/checks/cruft.desc b/checks/cruft.desc
index 8df02f1..cc9b46e 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -904,6 +904,8 @@ Info: This file appears to contain one or more lines with trailing
  .
   $ sed -i -e 's@[[:space:]]*$@@g' debian/control
  .
+ If you use Emacs, you can also use "M-x wh-cl" (whitespace-cleanup).
+ .
  However, if you wish to only remove trailing spaces and leave trailing tabs
  (eg. for Makefiles), you can use the following code snippet:
  .
diff --git a/debian/changelog b/debian/changelog
index a7741c0..ea6bcee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ lintian (2.5.60) UNRELEASED; urgency=medium
     + [CL] Add suggested [[:space:]]-based sed call for
       file-contains-trailing-whitespace. Thanks to Stuart Prescott.
       (Closes: #881389)
+    + [AB] Also mention Emacs' "M-x wh-cl" (whitespace-cleanup) for
+      file-contains-trailing-whitespace.
 
   * data/spelling/corrections:
     + [PW] Add several corrections.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: