diff options
| author | Gerd Moellmann | 2001-04-05 13:07:22 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-04-05 13:07:22 +0000 |
| commit | fc2cdd9a0fa5a7ee9c02d4e83459878568d07030 (patch) | |
| tree | 8c2744adbbd6c75a0a7e5a666269d4e6e643a05d /src | |
| parent | 81a81c0fd1ba782e16216900ada3d4afe6c0ba05 (diff) | |
| download | emacs-fc2cdd9a0fa5a7ee9c02d4e83459878568d07030.tar.gz emacs-fc2cdd9a0fa5a7ee9c02d4e83459878568d07030.zip | |
(Vmotif_version_string) [USE_MOTIF]: New variable.
(syms_of_xfns): DEFVAR_LISP it. Initialize from XmVERSION_STRING.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c index 37663e35e09..1e14bc80fe6 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -107,6 +107,14 @@ extern XFontStruct *xlwmenu_default_font; | |||
| 107 | extern void free_frame_menubar (); | 107 | extern void free_frame_menubar (); |
| 108 | extern double atof (); | 108 | extern double atof (); |
| 109 | 109 | ||
| 110 | #ifdef USE_MOTIF | ||
| 111 | |||
| 112 | /* LessTif/Motif version info. */ | ||
| 113 | |||
| 114 | static Lisp_Object Vmotif_version_string; | ||
| 115 | |||
| 116 | #endif /* USE_MOTIF */ | ||
| 117 | |||
| 110 | #endif /* USE_X_TOOLKIT */ | 118 | #endif /* USE_X_TOOLKIT */ |
| 111 | 119 | ||
| 112 | #define min(a,b) ((a) < (b) ? (a) : (b)) | 120 | #define min(a,b) ((a) < (b) ? (a) : (b)) |
| @@ -11521,10 +11529,15 @@ meaning don't clear the cache."); | |||
| 11521 | 11529 | ||
| 11522 | #ifdef USE_X_TOOLKIT | 11530 | #ifdef USE_X_TOOLKIT |
| 11523 | Fprovide (intern ("x-toolkit")); | 11531 | Fprovide (intern ("x-toolkit")); |
| 11524 | #endif | 11532 | |
| 11525 | #ifdef USE_MOTIF | 11533 | #ifdef USE_MOTIF |
| 11526 | Fprovide (intern ("motif")); | 11534 | Fprovide (intern ("motif")); |
| 11527 | #endif | 11535 | |
| 11536 | DEFVAR_LISP ("motif-version-string", &Vmotif_version_string, | ||
| 11537 | "Version info for LessTif/Motif."); | ||
| 11538 | Vmotif_version_string = build_string (XmVERSION_STRING); | ||
| 11539 | #endif /* USE_MOTIF */ | ||
| 11540 | #endif /* USE_X_TOOLKIT */ | ||
| 11528 | 11541 | ||
| 11529 | defsubr (&Sx_get_resource); | 11542 | defsubr (&Sx_get_resource); |
| 11530 | 11543 | ||