comparison lisp/winner.el @ 78491:3ccc56d2b79e

Remove time-stamp. Replace `iff' in doc-strings and comments.
author Glenn Morris <rgm@gnu.org>
date Wed, 08 Aug 2007 07:37:59 +0000
parents 9355f9b7bbff
children 73661ddc7ac7 20bb7aaa7b12 424b655804ca
comparison
equal deleted inserted replaced
78490:5eeabdf4bd56 78491:3ccc56d2b79e
3 ;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004, 3 ;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004,
4 ;; 2005, 2006, 2007 Free Software Foundation. Inc. 4 ;; 2005, 2006, 2007 Free Software Foundation. Inc.
5 5
6 ;; Author: Ivar Rummelhoff <ivarru@math.uio.no> 6 ;; Author: Ivar Rummelhoff <ivarru@math.uio.no>
7 ;; Created: 27 Feb 1997 7 ;; Created: 27 Feb 1997
8 ;; Time-stamp: <2006-02-06 15:13:57 ttn>
9 ;; Keywords: convenience frames 8 ;; Keywords: convenience frames
10 9
11 ;; This file is part of GNU Emacs. 10 ;; This file is part of GNU Emacs.
12 11
13 ;; GNU Emacs is free software; you can redistribute it and/or modify 12 ;; GNU Emacs is free software; you can redistribute it and/or modify
284 (cddr entry)) 283 (cddr entry))
285 finally return alist))) 284 finally return alist)))
286 285
287 (defun winner-get-point (buf win) 286 (defun winner-get-point (buf win)
288 ;; Consult (and possibly extend) `winner-point-alist'. 287 ;; Consult (and possibly extend) `winner-point-alist'.
289 ;; Returns nil iff buf no longer exists. 288 ;; Returns nil if buf no longer exists.
290 (when (buffer-name buf) 289 (when (buffer-name buf)
291 (let ((entry (assq buf winner-point-alist))) 290 (let ((entry (assq buf winner-point-alist)))
292 (cond 291 (cond
293 (entry 292 (entry
294 (or (cdr (assq win (cddr entry))) 293 (or (cdr (assq win (cddr entry)))
304 (point))))))) 303 (point)))))))
305 304
306 305
307 ;; Make sure point does not end up in the minibuffer and delete 306 ;; Make sure point does not end up in the minibuffer and delete
308 ;; windows displaying dead or boring buffers 307 ;; windows displaying dead or boring buffers
309 ;; (c.f. `winner-boring-buffers'). Return nil iff all the windows 308 ;; (c.f. `winner-boring-buffers'). Return nil if all the windows
310 ;; should be deleted. Preserve correct points and marks. 309 ;; should be deleted. Preserve correct points and marks.
311 (defun winner-set (conf) 310 (defun winner-set (conf)
312 ;; For the format of `conf', see `winner-conf'. 311 ;; For the format of `conf', see `winner-conf'.
313 (let* ((buffers nil) 312 (let* ((buffers nil)
314 (alive 313 (alive