diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-06-22 17:24:54 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-06-22 17:24:54 -0400 |
commit | 36cec983d4e680e28e7066fda505910cd549f509 (patch) | |
tree | f6dc7ad0e0822bc5edd4f12e963969059e0989b5 /lisp/window.el | |
parent | d35af63cd671563fd188c3b0a1ef30067027c7aa (diff) | |
download | emacs-36cec983d4e680e28e7066fda505910cd549f509.tar.gz |
Further GV/CL cleanups.
* lisp/emacs-lisp/gv.el (gv-get): Autoload functions to find their
gv-expander.
(gv--defun-declaration): New function.
(defun-declarations-alist): Use it.
(gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
(gv-place): Autoload.
* lisp/emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
original definition of dotimes and dolist.
* lisp/emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
(cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
* lisp/emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
(cl-fifth, cl-sixth, cl-seventh, cl-eighth)
(cl-ninth, cl-tenth): Move gv handler to the function's definition.
* lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
to the function's definition.
* lisp/Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
* lisp/window.el:
* lisp/files.el:
* lisp/faces.el:
* lisp/env.el: Don't use CL.
Diffstat (limited to 'lisp/window.el')
-rw-r--r-- | lisp/window.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/window.el b/lisp/window.el index 7c3fe1a082f..b362f40d8ad 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -28,8 +28,6 @@ ;;; Code: -(eval-when-compile (require 'cl)) - (defmacro save-selected-window (&rest body) "Execute BODY, then select the previously selected window. The value returned is the value of the last form in BODY. @@ -2557,7 +2555,7 @@ This may be a useful alternative binding for \\[delete-other-windows] (while (not (eq (setq w (next-window w 1)) window)) (let ((e (window-edges w))) (when (and (= (car e) (car edges)) - (= (caddr e) (caddr edges))) + (= (nth 2 e) (nth 2 edges))) (push w delenda)))) (mapc 'delete-window delenda))) |