annotate src/epaths.in @ 6291:38ec8e76594f

(Fx_popup_menu): If POSITION is nil, don't require an open X connection. (single_keymap_panes, keymap_panes, menu_item_enabled_p): New arg NOTREAL. (Fx_popup_menu): Pass new arg (1 if POSITION is nil). (menu_item_enabled_p): If NOTREAL, always return t. (single_keymap_panes) [!USE_X_TOOLKIT]: Append > to item_string if submenu. [USE_X_TOOLKIT]: Display submenus in Xt style. (menu_items): Record where submenus start and end. (menu_items_submenu_depth): New variable. (init_menu_items): Init it. (push_submenu_start, push_submenu_end): New functions. (grow_menu_items): New function. (push_menu_pane, push_menu_item): Use it. (push_menu_pane): Increment menu_items_n_panes only if depth is 0. (single_keymap_panes) [USE_X_TOOLKIT]: Record submenus in menu_items. (xmenu_show) [USE_X_TOOLKIT]: Give submenus to toolkit.
author Richard M. Stallman <rms@gnu.org>
date Thu, 10 Mar 1994 17:03:21 +0000
parents 07507709e0fe
children 0fac2c0a026d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* Hey Emacs, this is -*- C -*- code! */
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 /* The default search path for Lisp function "load".
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 This sets load-path. */
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 #define PATH_LOADSEARCH "/usr/local/lib/emacs/lisp"
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 /* Like PATH_LOADSEARCH, but used only when Emacs is dumping. This
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 path is usually identical to PATH_LOADSEARCH except that the entry
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 for the directory containing the installed lisp files has been
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 replaced with ../lisp. */
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 #define PATH_DUMPLOADSEARCH "../lisp"
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 /* The extra search path for programs to invoke. This is appended to
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 whatever the PATH environment variable says to set the Lisp
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 variable exec-path and the first file name in it sets the Lisp
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 variable exec-directory. exec-directory is used for finding
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 executables and other architecture-dependent files. */
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 #define PATH_EXEC "/usr/local/lib/emacs/etc"
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20 /* Where Emacs should look for its architecture-independent data
6032
07507709e0fe New path PATH_DOC for doc-directory.
Karl Heuer <kwzh@gnu.org>
parents: 3064
diff changeset
21 files, like the NEWS file. The lisp variable data-directory
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 is set to this value. */
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 #define PATH_DATA "/usr/local/lib/emacs/data"
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
6032
07507709e0fe New path PATH_DOC for doc-directory.
Karl Heuer <kwzh@gnu.org>
parents: 3064
diff changeset
25 /* Where Emacs should look for its docstring file. The lisp variable
07507709e0fe New path PATH_DOC for doc-directory.
Karl Heuer <kwzh@gnu.org>
parents: 3064
diff changeset
26 doc-directory is set to this value. */
07507709e0fe New path PATH_DOC for doc-directory.
Karl Heuer <kwzh@gnu.org>
parents: 3064
diff changeset
27 #define PATH_DOC "/usr/local/lib/emacs/data"
07507709e0fe New path PATH_DOC for doc-directory.
Karl Heuer <kwzh@gnu.org>
parents: 3064
diff changeset
28
616
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 /* The name of the directory that contains lock files with which we
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 record what files are being modified in Emacs. This directory
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 should be writable by everyone. THE STRING MUST END WITH A
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 SLASH!!! */
3c1ffcac443f Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 #define PATH_LOCK "/usr/local/lib/emacs/lock/"
3064
fa5466904709 * paths.h (PATH_INFO): New path, to edited by the configuration
Jim Blandy <jimb@redhat.com>
parents: 625
diff changeset
34
fa5466904709 * paths.h (PATH_INFO): New path, to edited by the configuration
Jim Blandy <jimb@redhat.com>
parents: 625
diff changeset
35 /* Where the configuration process believes the info tree lives. The
fa5466904709 * paths.h (PATH_INFO): New path, to edited by the configuration
Jim Blandy <jimb@redhat.com>
parents: 625
diff changeset
36 lisp variable configure-info-directory gets its value from this
fa5466904709 * paths.h (PATH_INFO): New path, to edited by the configuration
Jim Blandy <jimb@redhat.com>
parents: 625
diff changeset
37 macro, and is then used to set the Info-default-directory-list. */
fa5466904709 * paths.h (PATH_INFO): New path, to edited by the configuration
Jim Blandy <jimb@redhat.com>
parents: 625
diff changeset
38 #define PATH_INFO "/usr/local/info"