diff options
author | Glenn Morris <rgm@gnu.org> | 2008-03-07 04:20:41 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-03-07 04:20:41 +0000 |
commit | 100a41414a596397b98f4e03b6809a02c0bd17f9 (patch) | |
tree | 16ec50e14edf7f40120156adbb37471ef668b2ad /lisp/textmodes | |
parent | 719b64c2d9cb294a8ff465cb5ba39d9b41f2e0b9 (diff) | |
download | emacs-100a41414a596397b98f4e03b6809a02c0bd17f9.tar.gz emacs-100a41414a596397b98f4e03b6809a02c0bd17f9.tar.bz2 emacs-100a41414a596397b98f4e03b6809a02c0bd17f9.zip |
(org-agenda-sunrise-sunset): Require solar.
(calendar-longitude, calendar-latitude, calendar-location-name):
Declare for compiler.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/org.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index 912411453ed..71d8dee75f3 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el @@ -22728,12 +22728,17 @@ the cursor position." (interactive) (org-agenda-execute-calendar-command 'list-calendar-holidays)) +(defvar calendar-longitude) +(defvar calendar-latitude) +(defvar calendar-location-name) + (defun org-agenda-sunrise-sunset (arg) "Display sunrise and sunset for the cursor date. Latitude and longitude can be specified with the variables `calendar-latitude' and `calendar-longitude'. When called with prefix argument, latitude and longitude will be prompted for." (interactive "P") + (require 'solar) (let ((calendar-longitude (if arg nil calendar-longitude)) (calendar-latitude (if arg nil calendar-latitude)) (calendar-location-name |