emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/align.el


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/align.el
Date: Sat, 06 Nov 2004 07:10:46 -0500

Index: emacs/lisp/align.el
diff -c emacs/lisp/align.el:1.13 emacs/lisp/align.el:1.14
*** emacs/lisp/align.el:1.13    Mon Sep  1 15:45:04 2003
--- emacs/lisp/align.el Sat Nov  6 12:04:55 2004
***************
*** 1212,1217 ****
--- 1212,1225 ----
              (cond ((< gocol 0) t)     ; don't do anything
                    ((= cur gocol) t)   ; don't need to
                    ((< cur gocol)      ; just add space
+                    ;; FIXME: It is stated above that "...the
+                    ;;        whitespace to be modified was already
+                    ;;        deleted by `align-region', all we have
+                    ;;        to do here is indent."  However, this
+                    ;;        doesn't seem to be true, so we first
+                    ;;        delete the whitespace to avoid tabs
+                    ;;        after spaces.
+                    (delete-horizontal-space t)
                     (indent-to gocol))
                    (t
                     ;; This code works around an oddity in the




reply via email to

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