[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-align.el
From: |
Martin Stjernholm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-align.el |
Date: |
Tue, 26 Aug 2003 07:52:40 -0400 |
Index: emacs/lisp/progmodes/cc-align.el
diff -c emacs/lisp/progmodes/cc-align.el:1.20
emacs/lisp/progmodes/cc-align.el:1.21
*** emacs/lisp/progmodes/cc-align.el:1.20 Thu Jul 3 08:30:59 2003
--- emacs/lisp/progmodes/cc-align.el Tue Aug 26 07:52:40 2003
***************
*** 708,725 ****
(save-excursion
(beginning-of-line)
(when (c-syntactic-re-search-forward
! ;; This regexp avoids matches on ==.
! "\\(\\=\\|[^=]\\)=\\([^=]\\|$\\)"
! (c-point 'eol) t t)
! (setq equalp (- (match-beginning 2) (c-point 'boi))))))
(save-excursion
(goto-char startpos)
(if (or (if (c-syntactic-re-search-forward
! "\\(\\=\\|[^=]\\)=\\([^=]\\|$\\)"
! (min endpos (c-point 'eol)) t t)
(progn
! (goto-char (match-beginning 2))
nil)
t)
(save-excursion
--- 708,727 ----
(save-excursion
(beginning-of-line)
(when (c-syntactic-re-search-forward
! c-assignment-op-regexp
! (c-point 'eol) t t t)
! (setq equalp (- (or (match-beginning 1)
! (match-end 0))
! (c-point 'boi))))))
(save-excursion
(goto-char startpos)
(if (or (if (c-syntactic-re-search-forward
! c-assignment-op-regexp
! (min endpos (c-point 'eol)) t t t)
(progn
! (goto-char (or (match-beginning 1)
! (match-end 0)))
nil)
t)
(save-excursion
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-align.el,
Martin Stjernholm <=