1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-24 17:00:44 -08:00
emacs/lisp/play
Mattias Engdegård c676444a43 Add conditional operator xor to subr.el
Suggested by Oleh Krehel and implemented by Basil Contovounesios in
the following thread:
https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00547.html

* lisp/array.el (xor): Move unused function from here...
* lisp/subr.el: ...to here, and improve.
* lisp/gnus/spam.el (spam-xor):
* lisp/play/5x5.el (5x5-xor):
* lisp/proced.el (proced-xor):
* lisp/progmodes/idlwave.el (idlwave-xor):
* lisp/vc/diff-mode.el (diff-xor): Define as obsolete aliases of,
and replace all uses with, xor.
* lisp/jsonrpc.el: Remove unused dependency on array.el.
* lisp/org/org.el (org-xor): Move from here...
* lisp/org/org-compat.el (org-xor): ...to here, as a compatibility
shim for xor.
* lisp/progmodes/idlw-shell.el (idlwave-shell-enable-all-bp):
* lisp/simple.el (exchange-point-and-mark):
* lisp/windmove.el (windmove-display-in-direction): Use xor.
* lisp/strokes.el (strokes-xor): Remove commented-out xor
implementation.

* doc/lispref/control.texi (Control Structures): Extend menu entry
for new combining condition.
(Combining Conditions):
* etc/NEWS (Lisp Changes): Document xor.

* test/lisp/subr-tests.el (subr-test-xor): New test.
2019-08-06 13:38:47 +02:00
..
5x5.el Add conditional operator xor to subr.el 2019-08-06 13:38:47 +02:00
animate.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
blackbox.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
bubbles.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cookie1.el Go back to "Maintainer: emacs-devel@gnu.org" 2019-05-25 14:25:18 -07:00
decipher.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
dissociate.el Go back to "Maintainer: emacs-devel@gnu.org" 2019-05-25 14:25:18 -07:00
doctor.el Go back to "Maintainer: emacs-devel@gnu.org" 2019-05-25 14:25:18 -07:00
dunnet.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
fortune.el White-space fix in fortune-compile 2019-07-10 00:53:39 +02:00
gamegrid.el Remove XEmacs and old Emacs compat code from gamegrid.el 2019-06-20 12:51:38 +02:00
gametree.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
gomoku.el Update URL in comment in gomoku.el 2019-08-01 21:52:46 +02:00
handwrite.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
hanoi.el Go back to "Maintainer: emacs-devel@gnu.org" 2019-05-25 14:25:18 -07:00
life.el Go back to "Maintainer: emacs-devel@gnu.org" 2019-05-25 14:25:18 -07:00
morse.el Use lexical-binding in morse.el and studly.el and add tests 2019-06-01 18:52:22 -07:00
mpuz.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
pong.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
snake.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
solitaire.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
spook.el Go back to "Maintainer: emacs-devel@gnu.org" 2019-05-25 14:25:18 -07:00
studly.el Use lexical-binding in morse.el and studly.el and add tests 2019-06-01 18:52:22 -07:00
tetris.el tetris-null-map: bind "q" to quit-window 2019-05-02 10:18:14 -04:00
zone.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00