changeset 51716:dad40750b182

Did away with the dependency on `c-emacs-features' when populating `rul-generic-mode-syntax-table'; we already know this isn't XEmacs.
author Martin Stjernholm <mast@lysator.liu.se>
date Fri, 04 Jul 2003 10:47:06 +0000
parents 6e2487a7e9ff
children f8819c20f05e
files lisp/ChangeLog lisp/generic-x.el
diffstat 2 files changed, 10 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Jul 03 12:49:26 2003 +0000
+++ b/lisp/ChangeLog	Fri Jul 04 10:47:06 2003 +0000
@@ -1,4 +1,10 @@
-2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
+2003-07-04  Martin Stjernholm  <mast@lysator.liu.se>
+
+	* generic-x.el: Did away with the dependency on `c-emacs-features'
+	when populating `rul-generic-mode-syntax-table'; we already know
+	this isn't XEmacs.
+
+2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
 
 	* progmodes/cc-menus.el (cc-imenu-init): Do not set
 	`imenu-create-index-function' if the second argument is left
--- a/lisp/generic-x.el	Thu Jul 03 12:49:26 2003 +0000
+++ b/lisp/generic-x.el	Fri Jul 04 10:47:06 2003 +0000
@@ -1,6 +1,6 @@
 ;;; generic-x.el --- Extra Modes for generic-mode -*- no-byte-compile: t -*-
 
-;; Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1998, 2003 Free Software Foundation, Inc.
 
 ;; Author:  Peter Breton <pbreton@cs.umb.edu>
 ;; Created: Tue Oct 08 1996
@@ -1411,20 +1411,8 @@
    (modify-syntax-entry ?\r "> b"   rul-generic-mode-syntax-table)
    (modify-syntax-entry ?\n "> b"   rul-generic-mode-syntax-table)
 
-   (cond
-       ;; XEmacs 19 & 20 & 21
-    ((memq '8-bit c-emacs-features)
-     (modify-syntax-entry ?/  ". 1456" rul-generic-mode-syntax-table)
-       (modify-syntax-entry ?*  ". 23"   rul-generic-mode-syntax-table)
-       )
-    ;; Emacs 19 & 20
-    ((memq '1-bit c-emacs-features)
-     (modify-syntax-entry ?/  ". 124b" rul-generic-mode-syntax-table)
-       (modify-syntax-entry ?*  ". 23"   rul-generic-mode-syntax-table)
-       )
-    ;; incompatible
-    (t (error "Run Mode is incompatible with this version of Emacs"))
-    )
+   (modify-syntax-entry ?/  ". 124b" rul-generic-mode-syntax-table)
+   (modify-syntax-entry ?*  ". 23"   rul-generic-mode-syntax-table)
 
    ;; here manually instead
    (defun generic-rul-mode-setup-function ()