Rename `chinese-cns11643-6' to `=cns11643-6'.
[chise/xemacs-chise.git.1] / lisp / bytecomp-runtime.el
index 105374a..adbc4e1 100644 (file)
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 1992, 1997 Free Software Foundation, Inc.
 
-;; Author: Jamie Zawinski <jwz@netscape.com>
+;; Author: Jamie Zawinski <jwz@jwz.org>
 ;; Author: Hallvard Furuseth <hbf@ulrik.uio.no>
 ;; Maintainer: XEmacs Development Team
 ;; Keywords: internal, dumped
@@ -55,13 +55,13 @@ They will only be compiled open-coded when `byte-optimize' is true."
        (apply
         'nconc
         (mapcar
-         '(lambda (x)
-            (` ((or (memq (get '(, x) 'byte-optimizer)
-                          '(nil byte-compile-inline-expand))
-                    (error
-                     "%s already has a byte-optimizer, can't make it inline"
-                     '(, x)))
-                (put '(, x) 'byte-optimizer 'byte-compile-inline-expand))))
+         #'(lambda (x)
+             `((or (memq (get ',x 'byte-optimizer)
+                         '(nil byte-compile-inline-expand))
+                   (error
+                    "%s already has a byte-optimizer, can't make it inline"
+                    ',x))
+               (put ',x 'byte-optimizer 'byte-compile-inline-expand)))
          fns))))
 
 
@@ -71,10 +71,10 @@ They will only be compiled open-coded when `byte-optimize' is true."
        (apply
         'nconc
         (mapcar
-         '(lambda (x)
-            (` ((if (eq (get '(, x) 'byte-optimizer)
-                        'byte-compile-inline-expand)
-                    (put '(, x) 'byte-optimizer nil)))))
+         #'(lambda (x)
+             `((if (eq (get ',x 'byte-optimizer)
+                       'byte-compile-inline-expand)
+                   (put ',x 'byte-optimizer nil))))
          fns))))
 
 ;; This has a special byte-hunk-handler in bytecomp.el.
@@ -92,7 +92,7 @@ They will only be compiled open-coded when `byte-optimize' is true."
 ;                  ''byte-optimizer ''byte-compile-inline-expand))))
 
 (defun make-obsolete (fn new)
-  "Make the byte-compiler warn that FUNCTION is obsolete.
+  "Make the byte-compiler warn that function FN is obsolete.
 The warning will say that NEW should be used instead.
 If NEW is a string, that is the `use instead' message."
   (interactive "aMake function obsolete: \nxObsoletion replacement: ")
@@ -104,7 +104,7 @@ If NEW is a string, that is the `use instead' message."
   fn)
 
 (defun make-obsolete-variable (var new)
-  "Make the byte-compiler warn that VARIABLE is obsolete,
+  "Make the byte-compiler warn that variable VAR is obsolete,
 and NEW should be used instead.  If NEW is a string, then that is the
 `use instead' message."
   (interactive
@@ -119,7 +119,7 @@ and NEW should be used instead.  If NEW is a string, then that is the
 ;; By overwhelming demand, we separate out truly obsolete symbols from
 ;; those that are present for GNU Emacs compatibility.
 (defun make-compatible (fn new)
-  "Make the byte-compiler know that FUNCTION is provided for compatibility.
+  "Make the byte-compiler know that function FN is provided for compatibility.
 The warning will say that NEW should be used instead.
 If NEW is a string, that is the `use instead' message."
   (interactive "aMake function compatible: \nxCompatible replacement: ")
@@ -131,7 +131,7 @@ If NEW is a string, that is the `use instead' message."
   fn)
 
 (defun make-compatible-variable (var new)
-  "Make the byte-compiler know that VARIABLE is provided for compatibility.
+  "Make the byte-compiler know that variable VAR is provided for compatibility,
 and NEW should be used instead.  If NEW is a string, then that is the
 `use instead' message."
   (interactive
@@ -178,7 +178,7 @@ Called (eval-when-feature (FEATURE [. FILENAME]) BODYFORMS...).
 If (featurep 'FEATURE), evals now; otherwise adds an elt to
 `after-load-alist' (which see), using FEATURE as filename if FILENAME is nil."
   (let ((file (or (cdr feature) (symbol-name (car feature)))))
-    `(let ((bodythunk (function (lambda () ,@body))))
+    `(let ((bodythunk #'(lambda () ,@body)))
        (if (featurep ',(car feature))
           (funcall bodythunk)
         (setq after-load-alist (cons '(,file . (list 'lambda '() bodythunk))