1. 23 Aug, 2010 5 commits
  2. 22 Aug, 2010 10 commits
    • Juri Linkov's avatar
      Move reading an extended command to Elisp (bug#5364, bug#5214). · 7133b7ee
      Juri Linkov authored
      * lisp/simple.el (read-extended-command): New function with the logic
      for `completing-read' moved to Elisp from `execute-extended-command'.
      Use `function-called-at-point' in `minibuffer-default-add-function'
      to get a command name for M-n (bug#5364, bug#5214).
      
      * src/keyboard.c (Fexecute_extended_command): Move reading a command name
      with `completing-read' to a new Elisp function `read-extended-command'.
      Call it to read a command to `function'  (bug#5364, bug#5214).
      7133b7ee
    • Chong Yidong's avatar
      Make obsolete --unibyte argument do nothing (Bug#6886). · 198a7a97
      Chong Yidong authored
      * src/emacs.c (main): Remove --unibyte handling (Bug#6886).
      
      * lisp/startup.el (command-line-1): Issue warning for ignored arguments
      --unibyte, etc (Bug#6886).
      
      * doc/lispref/nonascii.texi (Text Representations):
      * doc/lispref/loading.texi (Loading Non-ASCII):
      * doc/lispref/compile.texi (Byte Compilation): Don't mention obsolete
      --unibyte command-line argument.
      198a7a97
    • Chong Yidong's avatar
      Merge changes from emacs-23 branch. · b0126eac
      Chong Yidong authored
      b0126eac
    • Chong Yidong's avatar
      Doc fix for define-minor-mode (Bug#6880). · bc7d7ea6
      Chong Yidong authored
      * doc/lispref/modes.texi (Defining Minor Modes): Doc fix (Bug#6880).
      
      * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
      bc7d7ea6
    • Eli Zaretskii's avatar
      Fix dependencies according to 2010-08-22T15:14:37Z!dann@ics.uci.edu. · b613941b
      Eli Zaretskii authored
       deps.mk (sysdep.o, msdos.o): Depend on sysselect.h.
      b613941b
    • Eli Zaretskii's avatar
      Fix the w32 build after 2010-08-22T15:14:37Z!dann@ics.uci.edu. · a583bbef
      Eli Zaretskii authored
       sysselect.h [WINDOWSNT]: Don't define the FD_* and select stuff for w32.
       s/ms-w32.h (HAVE_SYS_TIMEB_H): Don't #undef HAVE_SYS_SELECT_H, it's done
       in nt/config.nt.
       makefile.w32-in ($(BLD)/sysdep.$(O)): Depend on sysselect.h.
      a583bbef
    • Eli Zaretskii's avatar
      Clean up and ANSIfy unexcoff.c. · 22eec924
      Eli Zaretskii authored
       unexcoff.c (report_error, make_hdr, write_segment)
       (copy_text_and_data, copy_sym, mark_x, adjust_lnnoptrs, unexec):
       Convert argument lists and prototypes to ANSI C.
       (make_hdr, write_segment): Remove unused variables.
       (unexec): Remove commented-out line.  Initialize `new' to shut up
       compiler warnings.
      22eec924
    • Eli Zaretskii's avatar
      Clean up unexcoff.c. · 5f2f0bc1
      Eli Zaretskii authored
       unexcoff.c (report_error, make_hdr, write_segment)
       (copy_text_and_data, copy_sym, mark_x, adjust_lnnoptrs, unexec):
       Convert argument lists and prototypes to ANSI C.
       (make_hdr, write_segment): Remove unused variables.
       (unexec): Remove commented-out line.  Initialize `new' to shut up
       compiler warnings.
      5f2f0bc1
    • Dan Nicolaescu's avatar
      Simplify termio code. · a7ebc409
      Dan Nicolaescu authored
      All non-MSDOS non-WINDOWSNT platforms define HAVE_TERMIOS, so
      HAVE_TERMIO code is obsolete.
      Replace HAVE_TERMIOS conditionals with !DOS_NT.
      * src/systty.h: Do not define HAVE_TCATTR.
      Remove HAVE_TERMIO, HAVE_LTCHARS and HAVE_TCHARS code.
      Do not define EMACS_HAVE_TTY_PGRP.  Only define
      EMACS_GET_TTY_PGRP for !DOS_NT.
      * src/sysdep.c: Include sysselect.h unconditionally.  Do not include
      sys/ioctl.h and termios.h, systty.h does it.  Use
      HAVE_SYS_UTSNAME_H instead of USG as an include guard.
      (init_baud_rate): Remove HAVE_TERMIO code.
      (child_setup_tty): Remove HAVE_TERMIO code.
      (emacs_get_tty, emacs_set_tty): Remove HAVE_TERMIO, HAVE_TCHARS
      and HAVE_LTCHARS code.  Use !DOS_NT instead of HAVE_TCATTR.
      (new_ltchars, new_tchars): Remove, unused.
      (init_sys_modes): Remove HAVE_TERMIO, HAVE_TCHARS and HAVE_LTCHARS
      code.  Remove special casing for __mips__, it was a no-op.  Remove
      HAVE_TCATTR conditional, it is implied by HAVE_TERMIOS.
      (init_sys_modes): Remove HPUX special case.
      * src/process.c: Include stdlib.h unconditionally.  Do not include
      fcntl.h, systty.h does it.  Remove conditional code for
      HAVE_SERIAL, it is always true.
      (process_send_signal): Remove HAVE_TERMIOS conditional, it's
      always true when SIGNALS_VIA_CHARACTERS is true.
      (Fcontinue_process, Fprocess_send_eof): Simplify conditionals:
      !WINDOWSNT means HAVE_TERMIOS.
      (create_process): Remove HAVE_TERMIOS, it's inside a HAVE_PTYS
      conditional, which is true for all HAVE_TERMIOS systems.
      * src/keyboard.c (init_keyboard): Do not use HAVE_TERMIO, use !DOS_NT
      instead of HAVE_TERMIOS.
      * src/emacs.c (shut_down_emacs): Use !defined DOS_NT instead of
      EMACS_HAVE_TTY_PGRP.
      * src/callproc.c (child_setup): Move EMACS_SET_TTY_PGRP use to the
      non-MSDOS, non-WINDOWSNT code, it's only defined for such systems
      anyway.
      a7ebc409
    • Chong Yidong's avatar
      merge whitespace.el change from trunk · 41a20de9
      Chong Yidong authored
      41a20de9
  3. 21 Aug, 2010 13 commits
  4. 20 Aug, 2010 12 commits