I installed gnu emacs 24.3 on Fedora 16, after removing the previous
version 23.3.11 using yum remove.
Now the org files are not being saved. The error shown is:
"org-make-tags-matcher expects todo-only to be scope in"

Emacs  : GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.4)
 of 2013-08-12 on localhost.localdomain
Package: Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ /home/pms/.emacs.d/elpa/org-20130805/)

current state:
==============
(setq
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe
              org-src-native-tab-command-maybe
              org-babel-hide-result-toggle-maybe
              org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
              org-babel-speed-command-hook)
 org-clock-history-length 23
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-latex-final-hook '(org-beamer-amend-header
                   org-beamer-fix-toc
                   org-beamer-auto-fragile-frames
                   org-beamer-place-default-actions-for-lists)
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-default-notes-file "~/other/pers/aaa_mobileorg/aaa_org/capture_notes.org"
 org-clock-in-resume t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-from-is-user-regexp "\\<Prashant\\>"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
             org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(org-clock-load
         (lambda nil
          (add-hook (quote before-save-hook)
           (quote org-encrypt-entries) nil t)
          )
         #[nil "\300\301\302\303\304$\207"
           [org-add-hook change-major-mode-hook
            org-show-block-all append local]
           5]
         #[nil "\300\301\302\303\304$\207"
           [org-add-hook change-major-mode-hook
            org-babel-show-result-all append local]
           5]
         org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-clock-persist 'history
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
              org-babel-execute-safely-maybe)
 org-directory "~/other/pers/aaa_mobileorg/aaa_org"
 org-cycle-hook '(org-cycle-hide-archived-subtrees
          org-cycle-hide-drawers org-cycle-show-empty-lines
          org-optimize-window-after-visibility-change)
 org-tags-exclude-from-inheritance '("crypt")
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-export-blocks '((src org-babel-exp-src-block nil)
             (export-comment org-export-blocks-format-comment
              t)
             (ditaa org-export-blocks-format-ditaa nil)
             (dot org-export-blocks-format-dot nil))
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-crypt-key nil
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-clock-report-include-clocking-task t
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-ditaa-jar-path "/usr/local/emacs24/share/emacs/24.3/lisp/contrib/scripts/ditaa.jar"
 org-reveal-start-hook '(org-decrypt-entry)
 org-agenda-files '("~/other/pers/aaa_mobileorg/aaa_org/todo_130726.org" "~/other/pers/aaa_mobileorg/aaa_org/mobileorg_testing.org" "~/other/pers/aaa_mobileorg/aaa_org/capture_notes.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )