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 [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/align.el [lexbind]
Date: Thu, 11 Nov 2004 23:47:08 -0500

Index: emacs/lisp/align.el
diff -c emacs/lisp/align.el:1.10.2.2 emacs/lisp/align.el:1.10.2.3
*** emacs/lisp/align.el:1.10.2.2        Tue Oct 14 23:50:47 2003
--- emacs/lisp/align.el Fri Nov 12 04:21:13 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]