summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-01-14 16:16:08 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-01-14 16:16:08 +0100
commit1f76dd1fe1366cfe793ecb114d564484bd99d364 (patch)
tree2ed73ade336df55d7c1d355b8faeb573810bacbe
parentbed17f1bb505dd6ecf80b44bf1ef267d45efb206 (diff)
downloadorg-mode-1f76dd1fe1366cfe793ecb114d564484bd99d364.tar.gz
org-mobile: Silence byte-compiler
-rw-r--r--lisp/org-mobile.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index d0eeee8..f6ef18f 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -308,11 +308,9 @@ Also exclude files matching `org-mobile-files-exclude-regexp'."
This will create the index file, copy all agenda files there, and also
create all custom agenda views, for upload to the mobile phone."
(interactive)
- (let* ((agenda-base-name org-agenda-buffer-name)
- (agenda-this-name (or org-agenda-this-buffer-name agenda-base-name))
- (org-agenda-buffer-name "*SUMO*")
- (org-agenda-tag-filter org-agenda-tag-filter)
- (org-agenda-redo-command org-agenda-redo-command))
+ (let ((org-agenda-buffer-name "*SUMO*")
+ (org-agenda-tag-filter org-agenda-tag-filter)
+ (org-agenda-redo-command org-agenda-redo-command))
(save-excursion
(save-restriction
(save-window-excursion