diff lisp/modes/lazy-shot.el @ 211:78478c60bfcd r20-4b4

Import from CVS: tag r20-4b4
author cvs
date Mon, 13 Aug 2007 10:05:51 +0200
parents 41ff10fd062f
children
line wrap: on
line diff
--- a/lisp/modes/lazy-shot.el	Mon Aug 13 10:05:01 2007 +0200
+++ b/lisp/modes/lazy-shot.el	Mon Aug 13 10:05:51 2007 +0200
@@ -260,7 +260,7 @@
 
 (defun lazy-shot-unstall (&optional no-fontify)
   ;; Stop the timer
-  (when lazy-shot-stealth-timer
+  (when (and (boundp 'lazy-shot-stealth-timer) lazy-shot-stealth-timer)
     (delete-itimer lazy-shot-stealth-timer)
     (setq lazy-shot-stealth-timer nil))
   ;; Remove the extents.