Commits

andreasj  committed 64fb12c

Applied Jerry James' patch from <tprd7xjav22.fsf@cs.ucsb.edu>
with subject "emacs-minor-version fix for psgml".

  • Participants
  • Parent commits a07ace4
  • Tags sumo-1999-12-09, sumo-1999-12-11

Comments (0)

Files changed (3)

+1999-07-23  Jerry James  <jerry@cs.ucsb.edu>
+
+	* psgml.el: Don't set sgml-buggy-subst-char-in-region for
+	XEmacs 20.0+.
+	* psgml-xemacs.el: Process sgml-main-menu for XEmacs 20.0+.
+
 1999-06-13  Adrian Aichner  <aichner@ecf.teradyne.com>
 
 	* psgml-xemacs.el (sgml-popup-menu): Use `get-popup-menu-response'

File psgml-xemacs.el

 
 (unless (or (not (boundp 'emacs-major-version))
 	    (and (boundp 'emacs-minor-version)
+		 (< emacs-major-version 20)	; Already know this is bound
 		 (< emacs-minor-version 10)))
   (loop for ent on sgml-main-menu
 	if (vectorp (car ent))
 (defvar sgml-buggy-subst-char-in-region 
   (or (not (boundp 'emacs-minor-version))
       (not (natnump emacs-minor-version))
-      (< emacs-minor-version 23))
+      (and (< emacs-major-version 20)
+	   (< emacs-minor-version 23)))
   "*If non-nil, work around a bug in subst-char-in-region.
 The bug sets the buffer modified.  If this is set, folding commands
 will be slower.")