Commit 7df7482d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Require cl at compile time.

parent e8c32c99
......@@ -25,6 +25,8 @@
;;; Code:
(eval-when-compile (require 'cl))
(require 'gnus)
;;;
......
......@@ -25,6 +25,8 @@
;;; Code:
(eval-when-compile (require 'cl))
(require 'gnus)
(require 'gnus-int)
(require 'gnus-range)
......
......@@ -25,6 +25,8 @@
;;; Code:
(eval-when-compile (require 'cl))
(require 'gnus)
(require 'gnus-int)
(require 'nnheader)
......
......@@ -30,6 +30,8 @@
;;; Code:
(eval-when-compile (require 'cl))
(require 'gnus)
(require 'gnus-art)
......
......@@ -25,6 +25,8 @@
;;; Code:
(eval-when-compile (require 'cl))
;;; List and range functions
(defun gnus-last-element (list)
......@@ -207,7 +209,7 @@ Note: LIST has to be sorted over `<'."
(setcar ranges (cons (car ranges)
(cadr ranges)))
(setcdr ranges (cddr ranges)))
(when (= (1+ (car ranges)) (caadr ranges))
(when (= (1+ (car ranges)) (car (cadr ranges)))
(setcar (cadr ranges) (car ranges))
(setcar ranges (cadr ranges))
(setcdr ranges (cddr ranges)))))
......@@ -216,8 +218,8 @@ Note: LIST has to be sorted over `<'."
(when (= (1+ (cdar ranges)) (cadr ranges))
(setcdr (car ranges) (cadr ranges))
(setcdr ranges (cddr ranges)))
(when (= (1+ (cdar ranges)) (caadr ranges))
(setcdr (car ranges) (cdadr ranges))
(when (= (1+ (cdar ranges)) (car (cadr ranges)))
(setcdr (car ranges) (cdr (cadr ranges)))
(setcdr ranges (cddr ranges))))))
(setq ranges (cdr ranges)))
out)))
......
......@@ -37,6 +37,8 @@
;;; Code:
(eval-when-compile (require 'cl))
(require 'mail-utils)
(defvar nnheader-max-head-length 4096
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment