Mercurial > emacs
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 |
rev | line source |
---|---|
616 | 1 /* Hey Emacs, this is -*- C -*- code! */ |
2 | |
3 /* The default search path for Lisp function "load". | |
4 This sets load-path. */ | |
5 #define PATH_LOADSEARCH "/usr/local/lib/emacs/lisp" | |
6 | |
7 /* Like PATH_LOADSEARCH, but used only when Emacs is dumping. This | |
8 path is usually identical to PATH_LOADSEARCH except that the entry | |
9 for the directory containing the installed lisp files has been | |
10 replaced with ../lisp. */ | |
11 #define PATH_DUMPLOADSEARCH "../lisp" | |
12 | |
13 /* The extra search path for programs to invoke. This is appended to | |
14 whatever the PATH environment variable says to set the Lisp | |
15 variable exec-path and the first file name in it sets the Lisp | |
16 variable exec-directory. exec-directory is used for finding | |
17 executables and other architecture-dependent files. */ | |
18 #define PATH_EXEC "/usr/local/lib/emacs/etc" | |
19 | |
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 | 22 is set to this value. */ |
23 #define PATH_DATA "/usr/local/lib/emacs/data" | |
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 | 29 /* The name of the directory that contains lock files with which we |
30 record what files are being modified in Emacs. This directory | |
31 should be writable by everyone. THE STRING MUST END WITH A | |
32 SLASH!!! */ | |
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" |