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

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

[nongnu] elpa/drupal-mode 0a9d8dfa49 164/308: Cleaned whitespace.


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 0a9d8dfa49 164/308: Cleaned whitespace.
Date: Tue, 25 Jan 2022 10:59:43 -0500 (EST)

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

    Cleaned whitespace.
---
 drupal-mode.el | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index 2773a0203d..7d75e17872 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -36,7 +36,7 @@
 (require 'php-mode)
 (require 'format-spec)
 
-(eval-when-compile 
+(eval-when-compile
   (require 'css-mode))
 
 
@@ -62,7 +62,7 @@ If `Ask' ask the user whether to convert line endings.
 
 Drupal coding standards states that all text files should end in
 a single newline (\\n)."
-  :type `(choice 
+  :type `(choice
           :tag " we offer to change line endings if needed?"
           (const :tag "Always" t)
           (const :tag "Never" nil)
@@ -83,7 +83,7 @@ If `Default' do what the global setting is.
 
 Drupal coding standards states that lines should have no trailing
 whitespace at the end."
-  :type `(choice 
+  :type `(choice
           :tag "Whether to delete all the trailing whitespace."
           (const :tag "Always" always)
           (const :tag "Default" default)
@@ -538,12 +538,12 @@ Heavily based on `message-beginning-of-line' from Gnus."
       (set zrs t)))
   (if (derived-mode-p 'conf-mode)
       (let* ((here (point))
-            (bol (progn (beginning-of-line n) (point)))
-            (eol (point-at-eol))
-            (eoh (re-search-forward "= *" eol t)))
-       (goto-char
-        (if (and eoh (or (< eoh here) (= bol here)))
-            eoh bol)))
+             (bol (progn (beginning-of-line n) (point)))
+             (eol (point-at-eol))
+             (eoh (re-search-forward "= *" eol t)))
+        (goto-char
+         (if (and eoh (or (< eoh here) (= bol here)))
+             eoh bol)))
     (beginning-of-line n)))
 
 



reply via email to

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