org-mobile-create-index-file: Fix typo
* lisp/org-mobile.el (org-mobile-create-index-file): Fix argument order in the call to `expand-file-name'. Reported-by: Fabian Brosda <f.brosda@gmx.de> Link: https://orgmode.org/list/87a5ngxzcr.fsf@gmx.de
This commit is contained in:
parent
1151c614b3
commit
8eb78048f0
|
@ -470,7 +470,7 @@ agenda view showing the flagged items."
|
||||||
(insert "#+TAGS: " (mapconcat 'identity tags " ") "\n")
|
(insert "#+TAGS: " (mapconcat 'identity tags " ") "\n")
|
||||||
(insert "#+ALLPRIORITIES: " org-mobile-allpriorities "\n")
|
(insert "#+ALLPRIORITIES: " org-mobile-allpriorities "\n")
|
||||||
(when (file-exists-p (expand-file-name
|
(when (file-exists-p (expand-file-name
|
||||||
org-mobile-directory "agendas.org"))
|
"agendas.org" org-mobile-directory))
|
||||||
(insert "* [[file:agendas.org][Agenda Views]]\n"))
|
(insert "* [[file:agendas.org][Agenda Views]]\n"))
|
||||||
(pcase-dolist (`(,_ . ,link-name) files-alist)
|
(pcase-dolist (`(,_ . ,link-name) files-alist)
|
||||||
(insert (format "* [[file:%s][%s]]\n" link-name link-name)))
|
(insert (format "* [[file:%s][%s]]\n" link-name link-name)))
|
||||||
|
|
Loading…
Reference in New Issue