From f4103aec45930a9daf55960f5f81c778be3d83c5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 13 May 2003 20:59:15 +0000 Subject: [PATCH] (autoconf-current-defun-function): Copy the syntax table before modifying it. --- lisp/progmodes/autoconf.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/autoconf.el b/lisp/progmodes/autoconf.el index 51e23980ff8..a2a2b63a85a 100644 --- a/lisp/progmodes/autoconf.el +++ b/lisp/progmodes/autoconf.el @@ -4,7 +4,7 @@ ;; Author: Dave Love ;; Keywords: languages -;; $Revision: 1.2 $ +;; $Revision: 1.3 $ ;; This file is part of GNU Emacs. @@ -73,7 +73,7 @@ This version looks back for an AC_DEFINE or AC_SUBST. It will stop searching backwards at another AC_... command." (save-excursion - (with-syntax-table autoconf-mode-syntax-table + (with-syntax-table (copy-syntax-table autoconf-mode-syntax-table) (modify-syntax-entry ?_ "w") (if (re-search-backward autoconf-definition-regexp (save-excursion (beginning-of-defun) (point)) -- 2.39.2