org-agenda: Fix prefix argument handling for bulk actions
commitb900a85fe92d4373c4ebc9f40732cfc92dbea62b
authorKyle Meyer <kyle@kyleam.com>
Mon, 14 Aug 2017 20:26:14 +0000 (14 16:26 -0400)
committerKyle Meyer <kyle@kyleam.com>
Mon, 14 Aug 2017 20:27:46 +0000 (14 16:27 -0400)
treecdf76303297b5788d9629f5633c338fd267e2286
parentc8ade76ca2d579e9415cb3588605a6c98803f413
org-agenda: Fix prefix argument handling for bulk actions

* lisp/org-agenda.el (org-agenda-bulk-action): Fix the prefix argument
  checks introduced by 4f578a3f7 to avoid inadvertently setting
  org-agenda-schedule or org-agenda-deadline's time argument to ARG's
  value when ARG is non-nil.

Reported-by: Julien Cubizolles <j.cubizolles@free.fr>
<https://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00263.html>
lisp/org-agenda.el