changeset 98237:fc3f7f475220

(sgml-tag-syntax-table): Remove prefix flag from "'" entry in sgml-tag-syntax-table.
author Martin Rudalics <rudalics@gmx.at>
date Fri, 19 Sep 2008 06:18:28 +0000
parents 1c3e02cbd63e
children a63555e148ae
files lisp/textmodes/sgml-mode.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el	Fri Sep 19 03:35:56 2008 +0000
+++ b/lisp/textmodes/sgml-mode.el	Fri Sep 19 06:18:28 2008 +0000
@@ -158,6 +158,9 @@
   (let ((table (sgml-make-syntax-table sgml-specials)))
     (dolist (char '(?\( ?\) ?\{ ?\} ?\[ ?\] ?$ ?% ?& ?* ?+ ?/))
       (modify-syntax-entry char "." table))
+    (unless (memq ?' sgml-specials)
+      ;; Avoid that skipping a tag backwards skips any "'" prefixing it.
+      (modify-syntax-entry ?' "w" table))
     table)
   "Syntax table used to parse SGML tags.")