]> git.eshelyaron.com Git - emacs.git/commit
Add terminal hook defined_color_hook
authorAlexander Gramiak <agrambot@gmail.com>
Sat, 13 Apr 2019 14:59:07 +0000 (08:59 -0600)
committerAlexander Gramiak <agrambot@gmail.com>
Fri, 26 Apr 2019 22:55:39 +0000 (16:55 -0600)
commit41e20ee4bc01576d23fb8fd4f875385ce57eb36a
treec1432a0324447423c5cfbdea70a83fd09dd79991
parenta411517faf624657aa58979f5463115115093309
Add terminal hook defined_color_hook

* src/termhooks.h (defined_color_hook): New terminal hook.

* src/xterm.c:
* src/nsterm.m:
* src/term.c:
* src/w32term.c: Set defined_color_hook.

* src/xfaces.c: Use defined_color_hook.
(defined_color): Remove.

* src/image.c: Remove redefinitions of x_defined_color, and use
defined_color_hook.
12 files changed:
src/dispextern.h
src/image.c
src/nsterm.m
src/term.c
src/termhooks.h
src/w32fns.c
src/w32term.c
src/w32term.h
src/xfaces.c
src/xfns.c
src/xterm.c
src/xterm.h