Browse Source

Rename variable due to typo

Bernt Hansen 15 years ago
parent
commit
4381fea055
2 changed files with 2 additions and 2 deletions
  1. 1 1
      lisp/org-agenda.el
  2. 1 1
      lisp/org-mobile.el

+ 1 - 1
lisp/org-agenda.el

@@ -1774,7 +1774,7 @@ Pressing `<' twice means to restrict to the current subtree or region
 	   entry key type match lprops ans)
       ;; Turn off restriction unless there is an overriding one,
       (unless org-agenda-overriding-restriction
-	(unless (org-bound-and-true-p org-agenda-keep-restriced-file-list)
+	(unless (org-bound-and-true-p org-agenda-keep-restricted-file-list)
 	  ;; There is a request to keep the file list in place
 	  (put 'org-agenda-files 'org-restrict nil))
 	(setq org-agenda-restrict nil)

+ 1 - 1
lisp/org-mobile.el

@@ -280,7 +280,7 @@ agenda view showing the flagged items."
 	;; Make an agenda view of flagged entries, but only in the files
 	;; where stuff has been added.
 	(put 'org-agenda-files 'org-restrict org-mobile-last-flagged-files)
-	(let ((org-agenda-keep-restriced-file-list t))
+	(let ((org-agenda-keep-restricted-file-list t))
 	  (org-agenda nil "?"))))))
 
 (defun org-mobile-check-setup ()