release_7.9.1-348-gea7baa emacs 24.2.1

When trying to apply a capture template, org-mode gives the error void-function org-at-encypted-entry-p

Org templates:


(setq org-capture-templates
      (quote (("t" "todo" entry (file "~/git/org-mode/org/refile.org")
               "* TODO %^{Task} %^G %? Added: %U\n%a\n  %i" :clock-in t :clock-resume t)
              ("n" "note" entry (file+headline "~/git/org-mode/org/refile.org" "")
               "* %? :NOTE:\n%U\n%a\n  %i" :clock-in t :clock-resume t)
              ("j" "Journal" entry (file+datetree "~/git/org-mode/org/diary.org")
               "* %?\n%U\n  %i" :clock-in t :clock-resume t)
              ("w" "org-protocol" entry (file "~/git/org-mode/org/refile.org")
               "* TODO Review %c\n%U\n  %i" :immediate-finish t)
              ("p" "Phone call" entry (file "~/git/org-mode/org/refile.org")
               "* PHONE %? :PHONE:\n%U" :clock-in t :clock-resume t)
              ("h" "Habit" entry (file "~/git/org-mode/org/refile.org")
            "* NEXT %?\n%U\n%a\nSCHEDULED: %t .+1d/3d\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n  %i"))))

Error:


Debugger entered--Lisp error: (void-function org-at-encrypted-entry-p)
  org-at-encrypted-entry-p()
  org-capture-set-target-location()
  org-capture(nil)
  call-interactively(org-capture nil nil)

Messages:

Debug on Error enabled globally
Template key:
OVERVIEW
Restoring clock data
Loading /home/billday/.emacs.d/org-clock-save.el (source)...done
OVERVIEW
Loading vc-git...done
OVERVIEW
Entering debugger...




--
Bill Day
williamson.day@gmail.com