Browse Source

Make index.org READONLY

Carsten Dominik 15 years ago
parent
commit
60d4ccc259
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/org-mobile.el

+ 1 - 0
lisp/org-mobile.el

@@ -278,6 +278,7 @@ agenda view showing the flagged items."
     (with-temp-file
     (with-temp-file
 	(expand-file-name org-mobile-index-file org-mobile-directory)
 	(expand-file-name org-mobile-index-file org-mobile-directory)
       (while (setq entry (pop def-todo))
       (while (setq entry (pop def-todo))
+	(insert "#+READONLY\n")
 	(setq kwds (mapcar (lambda (x) (if (string-match "(" x)
 	(setq kwds (mapcar (lambda (x) (if (string-match "(" x)
 					   (substring x 0 (match-beginning 0))
 					   (substring x 0 (match-beginning 0))
 					 x))
 					 x))