Commit 8d956cef authored by Glenn Morris's avatar Glenn Morris

* lisp/emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)

parent ca347e3d
2012-10-04 Glenn Morris <rgm@gnu.org>
* emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2012-10-01 Juanma Barranquero <lekktu@gmail.com> 2012-10-01 Juanma Barranquero <lekktu@gmail.com>
* ido.el (ido-directory-too-big-p): Pass dir through file-truename * ido.el (ido-directory-too-big-p): Pass dir through file-truename
......
...@@ -425,7 +425,7 @@ be detected. ...@@ -425,7 +425,7 @@ be detected.
(with-timeout-timers (with-timeout-timers
(cons -with-timeout-timer- with-timeout-timers))) (cons -with-timeout-timer- with-timeout-timers)))
(unwind-protect (unwind-protect
,@body (progn ,@body)
(cancel-timer -with-timeout-timer-)))))) (cancel-timer -with-timeout-timer-))))))
;; It is tempting to avoid the `if' altogether and instead run ;; It is tempting to avoid the `if' altogether and instead run
;; timeout-forms in the timer, just before throwing `timeout'. ;; timeout-forms in the timer, just before throwing `timeout'.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment