]> git.eshelyaron.com Git - emacs.git/commitdiff
eval-and-compile
authorVinicius Jose Latorre <viniciusjl@ig.com.br>
Sat, 20 Nov 2004 00:40:27 +0000 (00:40 +0000)
committerVinicius Jose Latorre <viniciusjl@ig.com.br>
Sat, 20 Nov 2004 00:40:27 +0000 (00:40 +0000)
lisp/ChangeLog
lisp/progmodes/ebnf2ps.el

index 34ce6b8043be13fa69b9daad8383545cf9f2fc3a..d38a72243900f77d8159bf670c3a466820967566 100644 (file)
@@ -1,7 +1,7 @@
 2004-11-19  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 
        * progmodes/ebnf2ps.el: Fix typos.  Insert :version tag into all
-       defgroup and defcustom.
+       defgroup and defcustom.  Eliminate eval-and-compile usage.
 
        * progmodes/ebnf-otz.el: Fix typos.
 
index 52eedb18b4dd1c2cff88f5b45a7c14f0de132c2f..1d2f8d630e1c30097df2cafc378e4044475836c6 100644 (file)
@@ -5,7 +5,7 @@
 
 ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
 ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
-;; Time-stamp: <2004/11/19 22:24:27 vinicius>
+;; Time-stamp: <2004/11/19 22:30:34 vinicius>
 ;; Keywords: wp, ebnf, PostScript
 ;; Version: 4.2
 ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
@@ -1114,19 +1114,18 @@ Please send all bug fixes and enhancements to
 
 
 ;; to avoid gripes with Emacs 20
-(eval-and-compile
-  (or (fboundp 'assq-delete-all)
-      (defun assq-delete-all (key alist)
-       "Delete from ALIST all elements whose car is KEY.
+(or (fboundp 'assq-delete-all)
+    (defun assq-delete-all (key alist)
+      "Delete from ALIST all elements whose car is KEY.
 Return the modified alist.
 Elements of ALIST that are not conses are ignored."
-       (let ((tail alist))
-         (while tail
-           (if (and (consp (car tail))
-                    (eq (car (car tail)) key))
-               (setq alist (delq (car tail) alist)))
-           (setq tail (cdr tail)))
-         alist))))
+      (let ((tail alist))
+       (while tail
+         (if (and (consp (car tail))
+                  (eq (car (car tail)) key))
+             (setq alist (delq (car tail) alist)))
+         (setq tail (cdr tail)))
+       alist)))
 
 \f
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;