1. 21 Mar, 2011 17 commits
  2. 20 Mar, 2011 16 commits
  3. 19 Mar, 2011 7 commits
    • Paul Eggert's avatar
      Make tparam.h and terminfo.c consistent. · af8a867c
      Paul Eggert authored
      * cm.c (tputs, tgoto, BC, UP): Remove extern decls.  Include
      tparam.h instead, since it declares them.
      * cm.h (PC): Remove extern decl; tparam.h now does this.
      * deps.mk (cm.o, terminfo.o): Depend on tparam.h.
      * terminfo.c: Include tparam.h, to check interfaces.
      (tparm): Make 1st arg a const pointer in decl.  Put it at top level.
      (tparam): Adjust signature to match interface in tparam.h;
      this removes some undefined behavior.  Check that outstring and len
      are zero, which they always are with Emacs.
      * tparam.h (PC, BC, UP): New extern decls.
      af8a867c
    • Chong Yidong's avatar
      Add error for dired-create-directory on existing file (Bug#8246). · ff854b0b
      Chong Yidong authored
      * lisp/dired-aux.el (dired-create-directory): Signal an error if the
      directory already exists.
      ff854b0b
    • Chong Yidong's avatar
      Fix facemenu to populate buffer inside the with-help-window call. · fe0fb33e
      Chong Yidong authored
      See http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg01193.html
      
      * facemenu.el (list-colors-display): Call list-faces-display from
      inside with-help-window.
      (list-colors-print): Use display property to align the final
      column, instead of checking window-width.
      fe0fb33e
    • Chong Yidong's avatar
      Merge changes from emacs-23 branch · b14e3e21
      Chong Yidong authored
      b14e3e21
    • Chong Yidong's avatar
      Fix tar package handling, and clean up package-subdirectory-regexp usage. · 4525ce3e
      Chong Yidong authored
      * lisp/startup.el (package-subdirectory-regexp): Move from package.el.
      Omit \\` and \\', and let callers add them.
      
      * lisp/emacs-lisp/package.el (package-strip-version)
      (package-load-all-descriptors): Add \\` and \\' to
      package-subdirectory-regexp before using it.
      (package-untar-buffer): New arg DIR; ensure that file untars only
      into this expected directory.  Remove superfluous delete-region.
      (package-unpack): Caller changed.
      (package-tar-file-info): Use package-subdirectory-regexp.
      4525ce3e
    • Chong Yidong's avatar
      Backport fix for Bug#8219 from trunk. · 20f56955
      Chong Yidong authored
      * buffer.h (BUF_BEGV, BUF_BEGV_BYTE, BUF_ZV, BUF_ZV_BYTE, BUF_PT)
      (BUF_PT_BYTE): Rewrite to handle indirect buffers (Bug#8219).
      These macros can no longer be used for assignment.
      
      * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Assign
      struct members directly, instead of using BUF_BEGV etc.
      (record_buffer_markers, fetch_buffer_markers): New functions for
      recording and fetching special buffer markers.
      (set_buffer_internal_1, set_buffer_temp): Use them.
      
      * lread.c (unreadchar): Use SET_BUF_PT_BOTH.
      
      * insdel.c (adjust_point): Use SET_BUF_PT_BOTH.
      
      * intervals.c (temp_set_point_both): Use SET_BUF_PT_BOTH.
      (get_local_map): Use SET_BUF_BEGV_BOTH and SET_BUF_ZV_BOTH.
      
      * xdisp.c (hscroll_window_tree):
      (reconsider_clip_changes): Use PT instead of BUF_PT.
      20f56955
    • Eli Zaretskii's avatar
      Fix emerge.el on MS-Windows and MS-DOS. · 576bce32
      Eli Zaretskii authored
       lisp/emerge.el (emerge-metachars): Separate value for ms-dos and
       windows-nt systems.
       (emerge-protect-metachars): Quote correctly for ms-dos and
       windows-nt systems.
      576bce32