Committed revision 295 to http://mwolson.org/bzr/dvc/

Use y-or-n-p in dvc-confirm-file-op, but make it customizable.
  
  * lisp/dvc-core.el (dvc-current-file-list): If selection-mode is
    nil-if-none-marked, then return nil instead of the name of the file.
    (dvc-confirm-file-op-method): New option that determines the function
    to use for confirming file-based DVC operations.  It defaults to
    y-or-n-p, because it is irritating to type in the full "yes" string for
    routine operations.
    (dvc-always-true): New convenience function which like like `ignore'
    but returns t rather than nil.  Useful for the
    dvc-confirm-file-op-method option.
    (dvc-confirm-file-op): Use dvc-confirm-file-op-method.  If it is nil or
    not a function, then default to y-or-n-p.

-- 
       Michael Olson -- FSF Associate Member #652     |
 http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net  |  /` |\ | | |
          Programmer -- Hobbies: Lisp, HCoop          | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |

Attachment: pgpIv6GIPO6ns.pgp
Description: PGP signature

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to