From d07529f330667fe1236b014dc08008da6c0d8ceb Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 15 Feb 2008 16:59:19 +0000 Subject: [PATCH] (print_help_and_exit): Show -d option on Windows. --- lib-src/ChangeLog | 22 +++++++++++++--------- lib-src/emacsclient.c | 6 ++---- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 10e8593a0af..1fee2324f54 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2008-02-15 Juanma Barranquero + + * emacsclient.c (print_help_and_exit): Show -d option on Windows. + 2008-02-10 Dan Nicolaescu * fakemail.c: Undo previous change. @@ -7,8 +11,7 @@ * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional. (main): Replace MAIL_PROGRAM_NAME with its value. - * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete - variable. + * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable. 2008-02-08 Stefan Monnier @@ -21,7 +24,8 @@ 2008-02-04 Tom Tromey - * etags.c: Add "GTY" as synonym for __attribute__. Update gperf output. + * etags.c: Add "GTY" as synonym for __attribute__. + Update gperf output. 2008-02-01 Jason Rumney @@ -32,9 +36,9 @@ 2008-02-01 Jason Rumney - * makefile.w32-in (obj): Add font.o and w32font.o + * makefile.w32-in (obj): Add font.o and w32font.o. -2008-02-01 Zhang Wei (tiny change) +2008-02-01 Zhang Wei (tiny change) * lib-src/makefile.w32-in (lisp1): Delete ucs-tables.elc, utf-8.elc, and latin-*.el. @@ -2689,12 +2693,12 @@ * etags.c (suggest_asking_for_help): Provide a meaningful help message with and without LONG_OPTIONS. - * etags.c: [MSDOS]: Include it, don't include string.h. + * etags.c () [MSDOS]: Include it, don't include string.h. : Don't test MSDOS when including them. (white, nonam, endtk): Like elsewhere, use \r instead of \013. (put_entries): Correctly use %ld instead of %d in printf. - * etags.c: [HAVE_UNISTD_H]: Include conditionally, else + * etags.c () [HAVE_UNISTD_H]: Include conditionally, else declare getcwd if HAVE_GETCWD. (consider_token): Dead break instruction removed. @@ -2703,14 +2707,14 @@ Add support for large files. Merge glibc 2.1.2. * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c, - movemail.c, pop.c: + * movemail.c, pop.c: Do not include , as does this now. * b2m.c, emacsserver.c, etags.c, profile.c: Include before any system include files. * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c, - test-distrib.c: + * test-distrib.c: (read, write, open, close): Do not undef. * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix: diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index a39376be3fb..7c537eb8c4e 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -613,10 +613,8 @@ The following OPTIONS are accepted:\n\ -c, --create-frame Create a new frame instead of trying to\n\ use the current Emacs frame\n\ -e, --eval Evaluate the FILE arguments as ELisp expressions\n\ --n, --no-wait Don't wait for the server to return\n" -#ifndef WINDOWSNT -"-d, --display=DISPLAY Visit the file in the given display\n" -#endif +-n, --no-wait Don't wait for the server to return\n\ +-d, --display=DISPLAY Visit the file in the given display\n" #ifndef NO_SOCKETS_IN_FILE_SYSTEM "-s, --socket-name=FILENAME\n\ Set filename of the UNIX socket for communication\n" -- 2.39.5