emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/sgml-mode.el,v


From: Martin Rudalics
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/sgml-mode.el,v
Date: Fri, 19 Sep 2008 06:18:29 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Martin Rudalics <m061211>       08/09/19 06:18:28

Index: sgml-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/sgml-mode.el,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -b -r1.136 -r1.137
--- sgml-mode.el        5 Jul 2008 04:26:11 -0000       1.136
+++ sgml-mode.el        19 Sep 2008 06:18:28 -0000      1.137
@@ -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.")
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]