I updated org-mode yesterday through Melpa.
After that org-agenda stopped working for me.

It says:

Invalid function: org-with-silent-modifications

In my script I had this:

(org-agenda nil "n")

Trying to execute it now gives:

Debugger entered--Lisp error: (invalid-function org-with-silent-modifications)
  org-with-silent-modifications(nil)
  org-refresh-category-properties()
  byte-code("\306!\203\.....
  org-agenda-prepare-buffers(("/data/org/work.org" ...))
  org-agenda-prepare("Agenda and all TODO's")
  (let nil (org-agenda-prepare name))
  eval((let nil (org-agenda-prepare name)))
  org-let(nil (org-agenda-prepare name))
org-agenda-run-series("Agenda and all TODO's" (((agenda "") (alltodo ""))))
  org-agenda(nil "n")
  eval((org-agenda nil "n") nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)

-------------------------

Also have to add:

I had only "(require 'org)" in my file and it started to complain: "I don't know org-agenda-buffer-name variable"

So I had to add:

(require 'org)
(require 'org-agenda)
;;(require 'org-compat)

But still got an error I described above.
Looks like a bug

Reply via email to