From 11e9410ecf9230a19c8e6597e1fa5df369579f14 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 23 Oct 1997 07:32:37 +0000 Subject: [PATCH] (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. --- lisp/progmodes/cc-cmds.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ ;; 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. -- 2.39.2