1. 03 May, 2010 9 commits
    • 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.
  2. 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
  3. 01 May, 2010 22 commits
  4. 30 Apr, 2010 3 commits