"Sam Steingold" <[EMAIL PROTECTED]> writes: > <<LOG-START>> > dvc-log-edit: use or instead of undefined Xor (apparently, a typo) > <<LOG-END>> > > > > [VERSION] dvc-dev-bzr > > Bazaar (bzr) 1.0.0 > > Emacs : GNU Emacs 23.0.60.7 (x86_64-unknown-linux-gnu, GTK+ Version 2.8.20) > of 2008-03-10 on nyc-qws-005
Xor does exist on my system: ,----[ C-h f Xor RET ] | Xor is a compiled Lisp function in `ediff-init.el'. | (Xor A B) | | (defsubst Xor (a b) | (or (and a (not b)) (and (not a) b))) `---- We have the following code for some time in our code base: (defun dvc-log-edit (&optional other-frame no-init) "Edit the log before commiting. Optional OTHER_FRAME (default user prefix) puts log edit buffer in a separate frame. Optional NO-INIT if non-nil suppresses initialization of buffer if one is reused. `default-directory' must be the tree root." (interactive "P") (setq other-frame (Xor other-frame dvc-log-edit-other-frame)) ... Does anyone have an idea why we use Xor here? Stefan. _______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
