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

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

[nongnu] externals/caml 5a9f7c6 026/197: tabs -> spaces


From: Stefan Monnier
Subject: [nongnu] externals/caml 5a9f7c6 026/197: tabs -> spaces
Date: Sat, 21 Nov 2020 01:19:31 -0500 (EST)

branch: externals/caml
commit 5a9f7c67c88bce522210c862d8e11e267ae4515c
Author: Damien Doligez <damien.doligez-inria.fr>
Commit: Damien Doligez <damien.doligez-inria.fr>

    tabs -> spaces
    
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2638 
f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
---
 caml-compat.el | 8 ++++----
 ocamltags.in   | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/caml-compat.el b/caml-compat.el
index dfe0ed7..63b4a48 100644
--- a/caml-compat.el
+++ b/caml-compat.el
@@ -9,10 +9,10 @@
 This function removes or adds spaces and tabs at beginning of line
 only if necessary.  It leaves point at end of indentation."
       (if (= (current-indentation) column)
-         (back-to-indentation)
-       (beginning-of-line 1)
-       (delete-horizontal-space)
-       (indent-to column))))
+          (back-to-indentation)
+        (beginning-of-line 1)
+        (delete-horizontal-space)
+        (indent-to column))))
 
 ;; buffer-substring-no-properties
 
diff --git a/ocamltags.in b/ocamltags.in
index 8da00e2..a675653 100644
--- a/ocamltags.in
+++ b/ocamltags.in
@@ -23,8 +23,8 @@
     ;; collect definitions
     (while (caml-prev-index-position-function)
       (if (looking-at "[ \t]*val") nil
-       (setq index (cons (caml-match-string 5) (point)))
-       (setq all-alist (cons index all-alist))))
+        (setq index (cons (caml-match-string 5) (point)))
+        (setq all-alist (cons index all-alist))))
     all-alist))
 
 (defun caml-tags-file (filename)
@@ -91,7 +91,7 @@
         (prin1 (car tail)))
       (setq tail (cdr tail) i (1+ i)))
     (princ "\n")))
-   
+
 
 (setq gc-cons-threshold 1000000)
 



reply via email to

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