view oldXMenu/EvHand.c @ 58923:481f80f548e1

(ffap-dired-wildcards): Set default to "[*?][^/]*\\'". Doc fix. (ffap-directory-finder): New variable. (ffap-string-at-point-mode-alist): Add * and ? to `file'. (ffap-file-at-point): Add /* to immediately rejected names. Return absolute file names matching ffap-dired-wildcards. (ffap-read-file-or-url): Set default value for `completing-read' to `buffer-file-name'. (find-file-at-point): When filename matches ffap-dired-wildcards, call ffap-file-finder with t arg `wildcards', instead of dired. (ffap-other-window, ffap-other-frame): Return visited buffers. (ffap-read-only, ffap-read-only-other-window) (ffap-read-only-other-frame, ffap-alternate-file): New commands. (dired-at-point): Call ffap-directory-finder instead of dired. (ffap-dired-other-window, ffap-dired-other-frame) (ffap-list-directory): New commands. (ffap-bindings): New keybindings for new commands.
author Juri Linkov <juri@jurta.org>
date Mon, 13 Dec 2004 05:16:25 +0000
parents e8824c4f5f7e
children 3861ff8f4bf1 8e5779acd195
line wrap: on
line source

#include "copyright.h"

/* Copyright    Massachusetts Institute of Technology    1985	*/

/*
 * XMenu:	MIT Project Athena, X Window system menu package
 *
 * 	XMenuEventHandler - Set the XMenu asynchronous event handler.
 *
 *	Author:		Tony Della Fera, DEC
 *			December 19, 1985
 *
 */

#include "XMenuInt.h"

XMenuEventHandler(handler)
    int (*handler)();
{
    /*
     * Set the global event handler variable.
     */
    _XMEventHandler = handler;
}

/* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3
   (do not change this comment) */