aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2009-09-07 15:23:09 +0000
committerJuanma Barranquero2009-09-07 15:23:09 +0000
commit79f01fa76c2bf93269c9dbd07960e59aafe27521 (patch)
tree57ccc749cbf5222209b136a744a74dfbead659a2
parent8f09a02fc8ed6742265260fb686597f95bcb99c5 (diff)
downloademacs-79f01fa76c2bf93269c9dbd07960e59aafe27521.tar.gz
emacs-79f01fa76c2bf93269c9dbd07960e59aafe27521.zip
* files.el (top-level): Require `cl' when compiling.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/files.el4
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 401d9618e6e..9742ad3bfb6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12009-09-07 Juanma Barranquero <lekktu@gmail.com>
2
3 * files.el (top-level): Require `cl' when compiling.
4
12009-09-07 Glenn Morris <rgm@gnu.org> 52009-09-07 Glenn Morris <rgm@gnu.org>
2 6
3 * files.el (auto-mode-alist): Use delphi-mode for .dpr files. 7 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
diff --git a/lisp/files.el b/lisp/files.el
index 84bceedd381..5487b10eb2c 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -29,6 +29,8 @@
29 29
30;;; Code: 30;;; Code:
31 31
32(eval-when-compile (require 'cl))
33
32(defvar font-lock-keywords) 34(defvar font-lock-keywords)
33 35
34(defgroup backup nil 36(defgroup backup nil
@@ -722,7 +724,7 @@ one or more of those symbols."
722 (read-file-name-internal string nil action))) 724 (read-file-name-internal string nil action)))
723 ((eq (car-safe action) 'boundaries) 725 ((eq (car-safe action) 'boundaries)
724 (let ((suffix (cdr action))) 726 (let ((suffix (cdr action)))
725 (list* 'boundaries 727 (list* 'boundaries
726 (length (file-name-directory string)) 728 (length (file-name-directory string))
727 (let ((x (file-name-directory suffix))) 729 (let ((x (file-name-directory suffix)))
728 (if x (1- (length x)) (length suffix)))))) 730 (if x (1- (length x)) (length suffix))))))