Mercurial > emacs
comparison lisp/bindings.el @ 46523:0cdc8b745baf
(last-buffer): Add missing frame argument.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 18 Jul 2002 16:03:41 +0000 |
parents | a308cb6a79fd |
children | ea15c9ca1d86 |
comparison
equal
deleted
inserted
replaced
46522:16bfc5cf92da | 46523:0cdc8b745baf |
---|---|
275 | 275 |
276 (defun last-buffer () "\ | 276 (defun last-buffer () "\ |
277 Return the last non-hidden buffer in the buffer list." | 277 Return the last non-hidden buffer in the buffer list." |
278 ;; This logic is more or less copied from bury-buffer, | 278 ;; This logic is more or less copied from bury-buffer, |
279 ;; except that we reverse the buffer list. | 279 ;; except that we reverse the buffer list. |
280 (let ((fbl (frame-parameter 'buffer-list)) | 280 (let ((fbl (frame-parameter nil 'buffer-list)) |
281 (list (buffer-list)) | 281 (list (buffer-list)) |
282 (pred (frame-parameter nil 'buffer-predicate)) | 282 (pred (frame-parameter nil 'buffer-predicate)) |
283 found notsogood) | 283 found notsogood) |
284 ;; Merge the frame buffer list with the whole buffer list, | 284 ;; Merge the frame buffer list with the whole buffer list, |
285 ;; and reverse it. | 285 ;; and reverse it. |