1. 03 Feb, 2011 17 commits
  2. 02 Feb, 2011 8 commits
  3. 01 Feb, 2011 15 commits
    • Julien Danjou's avatar
      mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff format. · 39cde66c
      Julien Danjou authored
      mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's standard in Emacs nowadays.
      color.el (color-gradient): Add a color-gradient function.
      39cde66c
    • Sam Steingold's avatar
    • Sam Steingold's avatar
      * lisp/simple.el (special-mode-map): Bind "h" to `describe-mode'; · abef340a
      Sam Steingold authored
      bind "z" to `kill-this-buffer'.
      (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
      * lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
      (apropos-mode): Inherit from `special-mode'.
      * lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
      * lisp/bookmark.el (bookmark-bmenu-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'.
      * lisp/image-mode.el (image-mode-map): Ditto.
      * lisp/replace.el (occur-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/tar-mode.el (tar-mode): Inherit from `special-mode'.
      * lisp/calendar/diary-lib.el (diary-fancy-display-mode):
      Inherit from `special-mode-map'.
      * lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
      Inherit from `special-mode'.
      * lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from
      `special-mode-map'.
      (package-menu-mode): Define using `define-derived-mode'
      inheriting from `special-mode'.
      * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
      * lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'.
      (xesam-mode-map): Define separately.
      * lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
      * lisp/progmodes/compile.el (compilation-minor-mode-map)
      (compilation-mode-map): Inherit from `special-mode-map'.
      * lisp/vc/diff-mode.el (diff-mode-shared-map):
      Inherit from `special-mode-map'.
      * lisp/vc/log-view.el (log-view-mode-map): Add a comment.
      abef340a
    • Eli Zaretskii's avatar
      Fix a compiler warning in image.c. · 3082f617
      Eli Zaretskii authored
       image.c (tiff_load): Avoid compiler warning in 2nd arg to TIFFClientOpen.
      3082f617
    • Sam Steingold's avatar
    • Sam Steingold's avatar
      typo · 7d93eca9
      Sam Steingold authored
      7d93eca9
    • Sam Steingold's avatar
      * lisp/subr.el (purecopy-cons, purecopy-car): Add shortcuts. · 0b75349e
      Sam Steingold authored
      * lisp/faces.el (face-x-resources): Use `purecopy-cons'.
      * lisp/files.el (auto-mode-alist, interpreter-mode-alist): Use
      `purecopy-car'.
      * lisp/international/fontset.el (font-encoding-alist): Ditto.
      * lisp/international/mule-conf.el (file-coding-system-alist): Ditto.
      * lisp/international/mule.el (auto-coding-alist)
      (auto-coding-regexp-alist): Ditto.
      * lisp/mouse.el (mouse-buffer-menu-mode-groups): Use `purecopy-cons'.
      * lisp/term/x-win.el (x-gtk-stock-map): Ditto.
      0b75349e
    • Chong Yidong's avatar
      Drop use of unsafep for checking Custom themes; bugfixes. · 928f4e73
      Chong Yidong authored
      * lisp/custom.el (load-theme): Define return value.  Drop use of
      unsafep; call custom-theme-load-confirm for non-known-safe themes.
      (custom-theme-load-confirm): Scroll in the correct window.
      (custom-enabled-themes): Add custom-safe-themes to :set-after.
      
      * lisp/cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
      checkbox if load-theme fails.
      928f4e73
    • Stefan Monnier's avatar
      * lisp/progmodes/compile.el (compilation-next-error): Check there's · 7d116647
      Stefan Monnier authored
      a message before using it.
      
      Fixes: debbugs:7941
      7d116647
    • Stefan Monnier's avatar
      * lisp/gnus/message.el (message-expand-name): Don't trust the return value of · 99c2a4e3
      Stefan Monnier authored
      bbdb-complete-name.
      (message-check-news-header-syntax): Remove unused var `start'.
      (message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
      (message-inhibit-body-encoding): Move to before first use.
      (mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
      (To, References, In-Reply-To, Newsgroups, Subject, Path, From)
      (Organization, Message-ID, Date, mh-previous-window-config):
      Defvar the vars using dynamic scoping.
      99c2a4e3
    • Lars Ingebrigtsen's avatar
      d76c843e
    • Deniz Dogan's avatar
      Adding missing bug reference to ChangeLog. · cd03cda8
      Deniz Dogan authored
      cd03cda8
    • Jan Djärv's avatar
      Use add/delete_read_fd in xsmfns to simplify. Also restart with initial_argv. · 4df0af9b
      Jan Djärv authored
      * xsmfns.c (ice_connection_closed): Call delete_read_fd.
      (x_session_check_input): Change args and return type so it can be used
      as argument to add_read_fd.  Make static.  Remove call to select.
      Call kbd_buffer_store_event for emacs_event.
      (smc_save_yourself_CB): Also store initial argv to SmRestartCommand.
      (ice_conn_watch_CB): Call add_read_fd.
      
      * xterm.c (XTread_socket): Remove HAVE_X_SM block with call to
      x_session_check_input.
      (x_session_initialized): Remove definition.
      (x_initialize): Remove setting of x_session_initialized.
      
      * xterm.h (x_session_check_input): Remove declaration.
      4df0af9b
    • Paul Eggert's avatar
    • Lars Ingebrigtsen's avatar
      shr.el (shr-render-td): Only do colours at the final rendering. Should be slightly faster. · abb97fbb
      Lars Ingebrigtsen authored
       (shr-insert-table): Fix up TD background colours when doing the vertical padding.
      gnus-art.el (article-update-date-lapsed): Don't use current-column to find the horizontal position.  It's fragile in the presence of \003 characters.
      abb97fbb