org-agenda.el: Use `user-error' instead of `error' in some places
commit6ca318353f1b08671bcdad7705c2b4c24c5ac785
authorBastien Guerry <bzg@altern.org>
Wed, 10 Apr 2013 12:38:27 +0000 (10 14:38 +0200)
committerBastien Guerry <bzg@altern.org>
Wed, 10 Apr 2013 12:38:27 +0000 (10 14:38 +0200)
tree3b05be66fb5faea278038b477d0b0e720020c810
parent8e2c29fd38eee632cb6675cbae8440aa81bf643b
org-agenda.el: Use `user-error' instead of `error' in some places

* org-agenda.el (org-agenda-undo, org-agenda)
(org-agenda-append-agenda)
(org-agenda-get-restriction-and-command, org-agenda-write)
(org-agenda-clock-cancel)
(org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
(org-agenda-execute-calendar-command)
(org-agenda-goto-calendar, org-agenda-convert-date)
(org-agenda-bulk-mark, org-agenda-bulk-action)
(org-agenda-show-the-flagging-note): Use `user-error' instead
of `error'.
lisp/org-agenda.el