]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-beginning-of-statement):
authorKarl Heuer <kwzh@gnu.org>
Thu, 23 Oct 1997 07:32:37 +0000 (07:32 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 23 Oct 1997 07:32:37 +0000 (07:32 +0000)
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.

lisp/progmodes/cc-cmds.el

index 5f667e54e2f5c70b853c4326d9f716fa6c1d76d6..6cfc211c7b6207ce6ac6f3870ca839172dc95c9a 100644 (file)
@@ -7,7 +7,7 @@
 ;;             1985 Richard M. Stallman
 ;; Maintainer: cc-mode-help@python.org
 ;; Created:    22-Apr-1997 (split from cc-mode.el)
-;; Version:    5.17
+;; Version:    5.18
 ;; Keywords:   c languages oop
 
 ;; This file is part of GNU Emacs.