changeset 20137:8e6a173fcd9f

(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.
author Karl Heuer <kwzh@gnu.org>
date Thu, 23 Oct 1997 07:32:37 +0000
parents d8732d6e6aeb
children cd9968dc162a
files lisp/progmodes/cc-cmds.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-cmds.el	Thu Oct 23 07:32:07 1997 +0000
+++ b/lisp/progmodes/cc-cmds.el	Thu Oct 23 07:32:37 1997 +0000
@@ -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.