Mercurial > emacs
view oldXMenu/descrip.mms @ 57191:bd5d1158ebcf
(ido-choice-list): New dynamic var for `list' context.
(ido-context-switch-command): New dynamic var.
(ido-define-mode-map): Generalize switch between file/buffer contexts.
(ido-read-internal): Handle new `list' context.
Handle insert-buffer and insert-file ido-exit values.
(ido-buffer-internal): New arg switch-cmd. Use it to setup
ido-context-switch-command. Handle insert-file ido-exit value.
(ido-read-buffer): Set ido-context-switch-command to 'ignore
unless it is already bound by caller.
(ido-file-internal): New arg switch-cmd. Use it to setup
ido-context-switch-command. Handle insert-buffer ido-exit value.
(ido-enter-insert-buffer, ido-enter-insert-file): New commands
used for context switching.
(ido-all-completions): Handle new `list' context.
(ido-make-choice-list): Return choices for `list' context.
(ido-find-file-in-dir, ido-display-file, ido-write-file)
(ido-display-buffer, ido-kill-buffer): Disable context switching.
(ido-insert-buffer, ido-insert-file): Setup context switching.
(ido-exhibit): Handle `list' context.
(ido-read-file-name): Disable context switching. Handle fallback.
(ido-read-directory-name): Disable context switching.
(ido-completing-read): New defun like completing-read. Setup and
use new `list' context.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Wed, 22 Sep 2004 22:49:07 +0000 |
parents | bbce331da1be |
children | 1e98efa5f4b3 |
line wrap: on
line source
!# Uncomment following line if linking temacs complains about missing insque. EXTRA=insque.obj AS = as CC = cc LD = link TAGS = etags RM = delete MV = rename AR = library/insert MAKE = mms STD_DEFINES = CDEBUGFLAGS = /debug/noopt RM_CMD = $(RM) *.BAK.*, *.obj.* SRCS = Activate.c, - AddPane.c, - AddSel.c, - ChgPane.c, - ChgSel.c, - Create.c, - DelPane.c, - DelSel.c, - Destroy.c, - Error.c, - EvHand.c, - FindPane.c, - FindSel.c, - InsPane.c, - InsSel.c, - Internal.c, - Locate.c, - Post.c, - Recomp.c, - SetAEQ.c, - SetFrz.c, - SetPane.c, - SetSel.c, - XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c OBJS = Activate.obj, - AddPane.obj, - AddSel.obj, - ChgPane.obj, - ChgSel.obj, - Create.obj, - DelPane.obj, - DelSel.obj, - Destroy.obj, - Error.obj, - EvHand.obj, - FindPane.obj, - FindSel.obj, - InsPane.obj, - InsSel.obj, - Internal.obj, - Locate.obj, - Post.obj, - Recomp.obj, - SetAEQ.obj, - SetFrz.obj, - SetPane.obj, - SetSel.obj, - XDelAssoc.obj, XLookAssoc.obj, XCrAssoc.obj, XDestAssoc.obj, - XMakeAssoc.obj .c.obj : if f$search("$@") then $(RM) $@.* $(CC) /obj=$@ $(CFLAGS) $*.c all :: libXMenu11.olb ! libXMenu11.olb : $(OBJS) $(EXTRA) if f$search("$@") then $(RM) $@.* $(AR)/create $@ $(OBJS) if ("$(EXTRA)" .nes. "") then $(AR) $@ $(EXTRA) #If running ranlib fails, probably there is none. #That's ok. So don't stop the build. distclean : clean ! clean :: $(RM_CMD) \#* libXMenu11.a *.obj, tags :: $(TAGS) -t *.[ch]