summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-07-20 10:06:28 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-07-20 10:06:28 +0200
commit41c0f509c69652be1080867a133250853237a0c0 (patch)
treeb390ad035ee0a37fc4cc547f59d24f05fff2790a
parent8fe6f275121ec9eaee6fd6caa9a26c609fd59379 (diff)
downloadorg-mode-41c0f509c69652be1080867a133250853237a0c0.tar.gz
org-mobile: Fix code typo
* lisp/org-mobile.el (org-mobile-create-index-file): Fix code typo. Reported-by: Martin Leduc <ldcmrtn@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/108193>
-rw-r--r--lisp/org-mobile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index 986499c..bb301b7 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -463,8 +463,8 @@ agenda view showing the flagged items."
(when (file-exists-p (expand-file-name
org-mobile-directory "agendas.org"))
(insert "* [[file:agendas.org][Agenda Views]]\n"))
- (pcase-dolist (`(,file . ,link-name) files-alist)
- (insert (format "* [[file:%s][%s]]\n" file link-name)))
+ (pcase-dolist (`(,_ . ,link-name) files-alist)
+ (insert (format "* [[file:%s][%s]]\n" link-name link-name)))
(push (cons org-mobile-index-file (md5 (buffer-string)))
org-mobile-checksum-files))
(when org-mobile-use-encryption