[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: propose: dired-isearch.el --- isearch in Dired
From: |
Miles Bader |
Subject: |
Re: propose: dired-isearch.el --- isearch in Dired |
Date: |
Wed, 08 Aug 2007 17:16:24 +0900 |
A style question: Is there a reason you're using catch/throw instead of
just directly testing the result of get-text-property? The latter seems
both more efficient and more clear:
(let ((V ...))
(catch 'return
(while V
(when COND
(throw 'return V))
(setq V ...))))
=>
(let ((V ...))
(while (and V (not COND))
(setq V ...))
V)
Thanks,
-miles
--
`Suppose Korea goes to the World Cup final against Japan and wins,' Moon said.
`All the past could be forgiven.' [NYT]