diff options
| author | Karl Heuer | 1997-10-23 07:32:37 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-10-23 07:32:37 +0000 |
| commit | 11e9410ecf9230a19c8e6597e1fa5df369579f14 (patch) | |
| tree | 72d199b908465fc5065279b2e233eaf170e36a28 | |
| parent | 8220e74cf278becb547a5cd27e4c076b6fee8a8d (diff) | |
| download | emacs-11e9410ecf9230a19c8e6597e1fa5df369579f14.tar.gz emacs-11e9410ecf9230a19c8e6597e1fa5df369579f14.zip | |
(c-beginning-of-statement):
Fixes in sentence movement to properly
handle M-e moving forward into a comment when looking at preceding
whitespace, and M-a moving backward into comment when looking at
following whitespace.
Uncommented the looking-at call in the
sentence-flag clause so that moving by forward-sentence when looking
at the beginning of a comment works again. A previous log message in
cc-mode.el indicates this was commented out "because
c-beginning-of-statement-1 should do the right thing", but clearly it
doesn't.
I don't know if this breaks something else, because I can't figure out
why it was commented out in the first place.
| -rw-r--r-- | lisp/progmodes/cc-cmds.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index 5f667e54e2f..6cfc211c7b6 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | ;; 1985 Richard M. Stallman | 7 | ;; 1985 Richard M. Stallman |
| 8 | ;; Maintainer: cc-mode-help@python.org | 8 | ;; Maintainer: cc-mode-help@python.org |
| 9 | ;; Created: 22-Apr-1997 (split from cc-mode.el) | 9 | ;; Created: 22-Apr-1997 (split from cc-mode.el) |
| 10 | ;; Version: 5.17 | 10 | ;; Version: 5.18 |
| 11 | ;; Keywords: c languages oop | 11 | ;; Keywords: c languages oop |
| 12 | 12 | ||
| 13 | ;; This file is part of GNU Emacs. | 13 | ;; This file is part of GNU Emacs. |