1. 04 May, 2010 6 commits
    • Glenn Morris's avatar
      Missing lwlib part of earlier C_SWITCH commit. · e9bcdbf7
      Glenn Morris authored
      * lwlib/Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE):
      Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ instead of
      @c_switch_system@, @c_switch_machine@.
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Move LD_SWITCH_X_SITE_AUX from cpp to autoconf. · 27a2cdfc
      Glenn Morris authored
      * configure.in (LD_SWITCH_X_SITE_AUX): Use AC_SUBST only, not AC_DEFINE as well.
      (LD_SWITCH_X_SITE_AUX_RPATH): New output variable.
      * nt/config.nt (LD_SWITCH_X_SITE_AUX): Remove.
      * src/s/gnu-linux.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX as a shell
      * src/s/netbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      * src/s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      New variables, set by configure.
    • Glenn Morris's avatar
      Move LD_SWITCH_SYSTEM_TEMACS from cpp to autoconf. · eb21eab5
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM_TEMACS): New output variable.
      * src/s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
      * src/s/darwin.h (HEADERPAD_EXTRA, LIBS_NSGUI): Remove.
      (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
      * src/Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable, set by configure.
    • Glenn Morris's avatar
      Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf. · 49628785
      Glenn Morris authored
      * configure.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New output
      variables, replacing c_switch_machine, c_switch_system.
      * src/s/aix4-2.h (C_SWITCH_SYSTEM):
      * src/m/alpha.h (C_SWITCH_MACHINE):
      Move to configure.in.
      * src/Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM):
      New variables, set by configure.
      (ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of
      $c_switch_machine and $c_switch_system.
      * lib-src/Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@
      rather than @c_switch_system@, @c_switch_machine@.
    • Dan Nicolaescu's avatar
      * s/hpux10-20.h (LIB_STANDARD): New definition. · 7dff330b
      Dan Nicolaescu authored
      * Makefile.in (ORDINARY_LINK): Remove setting LIB_STANDARD based
      on it, not used anymore.
  2. 03 May, 2010 11 commits
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
    • Chong Yidong's avatar
      Add optional arg to delete-file to force deletion (Bug#6070). · 53967e09
      Chong Yidong authored
      * eval.c (internal_condition_case_n): Rename from
      (internal_condition_case_2): New function.
      * xdisp.c (safe_call): Use internal_condition_case_n.
      * fileio.c (Fdelete_file, internal_delete_file): New arg FORCE.
      (internal_delete_file, Frename_file): Callers changed.
      * buffer.c (Fkill_buffer):
      * callproc.c (delete_temp_file): Callers changed (Bug#6070).
      * lisp.h: Update prototypes.
      * diff.el (diff-sentinel):
      * epg.el (epg--make-temp-file, epg-decrypt-string)
      (epg-verify-string, epg-sign-string, epg-encrypt-string):
      * jka-compr.el (jka-compr-partial-uncompress)
      (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
      * server.el (server-sentinel): Use delete-file's new FORCE arg
    • Juanma Barranquero's avatar
      Fix typo. · 1fada563
      Juanma Barranquero authored
    • Glenn Morris's avatar
      Fix some ChangeLog attributions. · 2b4aa886
      Glenn Morris authored
    • Stefan Monnier's avatar
      Use define-minor-mode where applicable. · 56eb0904
      Stefan Monnier authored
      * mh-show.el (mh-showing-mode): Move function to mh-e.el.
      * mh-e.el (mh-showing-mode):
      * url-dired.el (url-dired-minor-mode):
      * org-table.el (orgtbl-mode):
      * view.el (view-mode):
      * type-break.el (type-break-query-mode)
      * textmodes/reftex.el (reftex-mode):
      * term/vt100.el (vt100-wide-mode):
      * tar-mode.el (tar-subfile-mode):
      * savehist.el (savehist-mode):
      * ibuf-ext.el (ibuffer-auto-mode):
      * composite.el (auto-composition-mode):
      * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      Use define-minor-mode.
      (vhdl-mode): Use static mode-line format.
      (vhdl-mode-line-update): Delete.
      (vhdl-create-mode-menu, vhdl-activate-customizations)
      (vhdl-hs-minor-mode): Don't bother calling it.
    • Glenn Morris's avatar
      * src/m/amdx86-64.h: Fix typo in previous. · 063371f2
      Glenn Morris authored
    • Glenn Morris's avatar
      Regenerate configure. · a5edbe4a
      Glenn Morris authored
    • Glenn Morris's avatar
      Replace some X-related cpp with autoconf. · 3dee6fdb
      Glenn Morris authored
      * configure.in (LIBXT_OTHER, LIBX_OTHER): New output variables.
      * src/Makefile.in (LIBX_EXTRA, LIBX_BASE): New variables.
      (LIBXT_OTHER, LIBX_OTHER): New, set by configure.
      (LIBXT): Set with configure, not cpp.
      (LIBX): Remove.
      (LIBES): Replace $LIBX with $LIBX_BASE and $LIBX_OTHER.
    • Glenn Morris's avatar
    • Stefan Monnier's avatar
      Use define-minor-mode in Gnus where applicable. · bbf52f1e
      Stefan Monnier authored
      * mml.el (mml-mode): Use define-minor-mode.
      * gnus-undo.el (gnus-undo-mode-map): Initialize in declaration.
      (gnus-undo-mode): Use define-minor-mode.
      * gnus-sum.el (gnus-dead-summary-mode-map): Initialize in declaration.
      (gnus-dead-summary-mode): Use define-minor-mode.
      * gnus-salt.el (gnus-pick-mode-map, gnus-binary-mode-map):
      Initialize in declaration.
      (gnus-pick-mode, gnus-binary-mode): Use define-minor-mode.
      * gnus-ml.el (gnus-mailing-list-mode-map): Initialize in declaration.
      (gnus-mailing-list-mode): Use define-minor-mode.
      * gnus-draft.el (gnus-draft-mode-map): Initialize in declaration.
      (gnus-draft-mode): Use define-minor-mode.
      * gnus-dired.el (gnus-dired-mode-map): Initialize in declaration.
      (gnus-dired-mode): Use define-minor-mode.
  3. 02 May, 2010 6 commits
    • Dan Nicolaescu's avatar
      * m/amdx86-64.h (START_FILES, LIB_STANDARD): Remove. · a101e0fb
      Dan Nicolaescu authored
      The FreeBSD is not needed, the default works, Solaris version is
      not needed, and the remaining case is not supported by configure.
    • Jan Djärv's avatar
      Run kill-emacs when exiting for display closed or SIGTERM/HUP. · f63d0028
      Jan Djärv authored
      * xsmfns.c (CHDIR_OPT): New define.
      (smc_save_yourself_CB): Add CHDIR_OPT to options to use when
      restarting emacs.
      * xterm.c (x_connection_closed): Call Fkill_emacs instead of
      * emacs.c (USAGE1): Mention --chdir.
      (main): Handle --chdir.
      (standard_args): Add --chdir.
      (fatal_error_signal): Call Fkill_emacs for SIGTERM and SIGHUP (Bug
      * cmdargs.texi (Initial Options): Mention --chdir.
    • Stefan Monnier's avatar
      New hook filter-buffer-substring-functions. · 8f92b8ad
      Stefan Monnier authored
      * simple.el (with-wrapper-hook): Move.
      (buffer-substring-filters): Mark obsolete.
      (filter-buffer-substring-functions): New variable.
      (buffer-substring-filters): Use it.  Remove unused arg `noprops'.
    • Stefan Monnier's avatar
      Use a mode-line spec rather than a static string in Semantic. · 672eb710
      Stefan Monnier authored
      * cedet/semantic/util-modes.el:
      (semantic-minor-modes-format): New var to replace...
      (semantic-minor-modes-status): Remove.
      (semantic-mode-line-update): Construct a mode-line spec rather than
      a static string so that mouse buttons can be used on individual minor
      modes and so that semantic-mode-line-update only needs to be called
      when global settings are changed.
      (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
      Call semantic-mode-line-update.
      (semantic-toggle-minor-mode-globally): Don't assume mode is on
      minor-mode-alist, check semantic-minor-mode-alist as well.
      (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
      (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
      (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
      * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
      * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
      (define-semantic-idle-service, semantic-idle-summary-mode):
      * cedet/semantic/decorate/mode.el (semantic-decoration-mode):
      Don't call semantic-mode-line-update any more.
    • Stefan Monnier's avatar
      Use define-minor-mode in CEDET where applicable. · cb7f3653
      Stefan Monnier authored
      * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
      Use define-minor-mode.
      * cedet/semantic/util-modes.el (semantic-add-minor-mode):
      Remove unused arg `keymap' and code redundant with define-minor-mode.
      (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
      (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
      (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
      (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
      (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
      (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
      Use define-minor-mode.
      (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
      (semantic-highlight-func-mode-setup): Inline into sole caller.
      * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
      (semantic-mru-bookmark-mode): Use define-minor-mode.
      (semantic-mru-bookmark-mode-setup): Inline into sole caller.
      * cedet/semantic/idle.el (define-semantic-idle-service):
      Use define-minor-mode and inline setup function into its sole caller.
      (semantic-idle-summary-mode-setup): Inline into sole caller.
      (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
      Use define-minor-mode.
      * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
      (semantic-decoration-mode): Use define-minor-mode.
      (semantic-decoration-mode-setup): Inline into sole caller.
      * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
      (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
      (ede-dired-add-to-target): Use dolist.
    • Stefan Monnier's avatar
      * allout.el: Fix commenting convention. · a5a1e2ef
      Stefan Monnier authored
  4. 01 May, 2010 17 commits