Mercurial > hg > xemacs-beta
view modules/sample/external/Makefile.in.in @ 5860:916b48abd1c6
event-stream.c, support help-event-list as does GNU.
src/ChangeLog addition:
2015-03-14 Aidan Kehoe <kehoea@parhasard.net>
Add support for GNU's help-event-list here, useful for accepting
F1 and C-h as the help character at the same time.
* event-stream.c:
* event-stream.c (echo_key_event):
Be better about calculation, comments here, in passing.
* event-stream.c (help_char_p): New.
* event-stream.c (execute_help_form):
There's no need to reset the command builder here; the code that
did relied on zero-termination, which we can't anymore, and did
not actually discard the help character. Remove this.
* event-stream.c (Fnext_event): Use help_char_p ().
* event-stream.c (command_builder_find_leaf_no_jit_binding):
Use help_char_p ().
* event-stream.c (vars_of_event_stream):
Make help-event-list available.
man/ChangeLog addition:
2015-03-14 Aidan Kehoe <kehoea@parhasard.net>
* lispref/help.texi (Help Functions):
Document help-event-list, just added.
lisp/ChangeLog addition:
2015-03-14 Aidan Kehoe <kehoea@parhasard.net>
* cus-start.el (all): Describe help-event-list for Custom.
* keydefs.el (help-event-list): Initialise it.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 14 Mar 2015 01:16:45 +0000 |
parents | 4aa8ee813265 |
children |
line wrap: on
line source
## Makefile for the sample module in XEmacs. ## Copyright (C) 2002 Jerry James. ## ## This sample Makefile is free; you can redistribute it and/or modify it ## under the terms of the GNU General Public License as published by the ## Free Software Foundation, either version 3 of the License, or (at your ## option) any later version. ## This file is not part of XEmacs. ### Specialize this part for your module MODNAME=sample MODVER=0.0.1 MODTITLE="Sample module for XEmacs" SRCS=sample.c ### You should not need to modify anything below this line DESTDIR= SHELL=/bin/sh RM=rm -f CFLAGS=@CFLAGS@ LDFLAGS=@LDFLAGS@ srcdir=@srcdir@ VPATH=@srcdir@ SRC_SRCS=$(SRCS:%=$(srcdir)/%) OBJS=$(SRCS:.c=.o) ELLCC=@ELLCC@ MODARCHDIR=$(shell @ELLCC@ --mod-archdir) INSTALLPATH=$(shell @ELLCC@ --mod-site-location) INSTALL=@INSTALL@ INSTALL_PROGRAM=@INSTALL_PROGRAM@ .PHONY: clean distclean install all: $(MODNAME).ell .c.o: $(ELLCC) $(CFLAGS) --mode=compile --mod-output=$@ \ -I$(MODARCHDIR)/include -c $< $(MODNAME).ell: $(OBJS) $(MODNAME)_i.o $(ELLCC) --mode=link --mod-output=$@ $(OBJS) $(MODNAME)_i.o $(LDFLAGS) $(MODNAME)_i.c: $(SRCS) ELLMAKEDOC=$(MODARCHDIR)/make-docfile $(ELLCC) --mode=init \ --mod-output=$@ --mod-name=$(MODNAME) --mod-version=$(MODVER) \ --mod-title=$(MODTITLE) $(SRC_SRCS) clean: $(RM) $(MODNAME).ell $(OBJS) $(MODNAME)_i.* *~ distclean: clean $(RM) Makefile config.* configure install: $(MODNAME).ell $(INSTALL_PROGRAM) $< $(DESTDIR)$(INSTALLPATH)