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 [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/align.el [emacs-unicode-2]
Date: Thu, 11 Nov 2004 22:02:15 -0500

Index: emacs/lisp/align.el
diff -c emacs/lisp/align.el:1.12.4.1 emacs/lisp/align.el:1.12.4.2
*** emacs/lisp/align.el:1.12.4.1        Fri Apr 16 12:49:47 2004
--- emacs/lisp/align.el Fri Nov 12 02:52:53 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]