Mercurial > emacs
view lwlib/xrdb.c @ 35453:26726eff41ca zsh-sync-ognus-2
2001-01-21 ShengHuo ZHU <zsh@cs.rochester.edu>
* message.el (message-forward): Use mule4.
* mm-util.el (mm-string-as-unibyte): New.
* message.el (message-forward): Use it.
* message.el (message-cite-original-without-signature): Don't peel
off the blank line.
(message-get-reply-headers): Add Cc if it is not in follow-to.
* message.el (message-send-mail): Content-Type may not be there.
By Alberto Lusiani.
* gnus-art.el (article-display-x-face): Insert X-Face if there is
not.
* rfc2047.el (rfc2047-fold-region): Don't insert LWSP if there is
one.
* gnus-win.el (gnus-configure-windows): switch-to-buffer in XEmacs.
(gnus-remove-some-windows): Ditto.
* mm-decode.el (mm-interactively-view-part): Don't copy-sequence
handle.
* gnus-art.el (gnus-mime-view-part): Copy it.
(gnus-mime-view-part-as-type): Add into gnus-article-mime-handles.
* nnmail.el (nnmail-get-new-mail): Find group only if file is not
orig-file. Use ',source.
* nnslashdot.el (nnslashdot-request-list): Get the right year. By
Lars Magne Ingebrigtsen.
* pop3.el (pop3-get-message-count): Andrew Innes
<andrewi@gnu.org>'s patch of 1999-12-01 was not fully committed.
author | ShengHuo ZHU <zsh@cs.rochester.edu> |
---|---|
date | Sun, 21 Jan 2001 05:33:42 +0000 |
parents | e0d966fb548f |
children |
line wrap: on
line source
/* This file overrides the R4 or R5 mit/lib/Xt/Initialize.c, except that the functions lwlib_GetFileDatabase(), lwlib_CombineFileDatabase(), and lwlib_xrdb_initialize() are called. By doing this silly cpp hack, we avoid version skew problems. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <X11/Xlib.h> #include <X11/cursorfont.h> #include <X11/Xutil.h> #ifdef XlibSpecificationRelease #if XlibSpecificationRelease >= 5 #define HAVE_X11R5 #endif #endif extern struct _XrmHashBucketRec *lwlib_GetFileDatabase (); extern void lwlib_xrdb_initialize (); /* Replace all calls to XrmGetFileDatabase() with lwlib_GetFileDatabase(), calls to XrmCombineFileDatabase() with lwlib_CombineFileDatabase(), and rename the defined _XtDisplayInitialize() function. */ #define XrmGetFileDatabase lwlib_GetFileDatabase #define XrmCombineFileDatabase lwlib_CombineFileDatabase #define _XtDisplayInitialize _orig_XtDisplayInitialize /* Suck in the original code. Don't change this: see comments in Imakefile. */ #include "Initialize.c" #undef XrmGetFileDatabase #undef XrmCombineFileDatabase #undef _XtDisplayInitialize /* Now provide a definition of _XtDisplayInitialize() which invokes the original code after calling our initialization hook. Note that the R4 and R5 versions of _XtDisplayInitialize() take different arguments. */ #ifndef HAVE_X11R5 void _XtDisplayInitialize(dpy, pd, name, class, urlist, num_urs, argc, argv) Display *dpy; XtPerDisplay pd; String name, class; XrmOptionDescRec *urlist; Cardinal num_urs; Cardinal *argc; char *argv[]; { lwlib_xrdb_initialize(dpy); _orig_XtDisplayInitialize(dpy, pd, name, class, urlist, num_urs, argc, argv); } #else /* HAVE_X11R5 */ void _XtDisplayInitialize(dpy, pd, name, urlist, num_urs, argc, argv) Display *dpy; XtPerDisplay pd; String name; XrmOptionDescRec *urlist; Cardinal num_urs; int *argc; char **argv; { lwlib_xrdb_initialize(dpy); _orig_XtDisplayInitialize(dpy, pd, name, urlist, num_urs, argc, argv); } #endif /* HAVE_X11R5 */