Procházet zdrojové kódy

Inform compiler about a variable that will exist at run time

* lisp/org-timer.el (org-clock-sound): Silence compiler.
Carsten Dominik před 11 roky
rodič
revize
2c173d34a2
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      lisp/org-timer.el

+ 2 - 0
lisp/org-timer.el

@@ -370,6 +370,8 @@ VALUE can be `on', `off', or `pause'."
       (message "%d minute(s) %d seconds left before next time out"
 	       rmins rsecs))))
 
+(defvar org-clock-sound)
+
 ;;;###autoload
 (defun org-timer-set-timer (&optional opt)
   "Prompt for a duration and set a timer.