From 32e3d02341e18719bde7a43e35647647c369f7b1 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 2 Feb 1995 21:22:52 +0000 Subject: [PATCH] Fix bug in M-x electric-c-terminator: it was not correctly handling goto tags that contained _ or $. --- v7/src/edwin/c-mode.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v7/src/edwin/c-mode.scm b/v7/src/edwin/c-mode.scm index 3e981a638..7ce269606 100644 --- a/v7/src/edwin/c-mode.scm +++ b/v7/src/edwin/c-mode.scm @@ -1,8 +1,8 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: c-mode.scm,v 1.52 1993/08/10 05:46:42 cph Exp $ +;;; $Id: c-mode.scm,v 1.53 1995/02/02 21:22:52 cph Exp $ ;;; -;;; Copyright (c) 1986, 1989-93 Massachusetts Institute of Technology +;;; Copyright (c) 1986, 1989-95 Massachusetts Institute of Technology ;;; ;;; This material was developed by the Scheme project at the ;;; Massachusetts Institute of Technology, Department of @@ -234,7 +234,7 @@ regardless of where in the line point is when the TAB command is used." false)) (mark< (skip-chars-forward " \t" - (forward-word mark 1)) + (skip-chars-forward "a-zA-Z0-9_$" mark)) point)) (let ((state (parse-partial-sexp -- 2.25.1