comparison src/msdos.c @ 90863:648e6c714c7d

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 774-780) - Update from CVS - Merge from emacs--rel--22, gnus--rel--5.10 - Merge from emacs--rel--22 - Fix tq.el edge case * emacs--rel--22 (patch 28-32) - Update from CVS * gnus--rel--5.10 (patch 224-225) - Merge from emacs--devo--0, emacs--rel--22 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-213
author Miles Bader <miles@gnu.org>
date Wed, 30 May 2007 14:40:46 +0000
parents 95d0cdf160ea 223bb8e66f74
children f55f9811f5d7
comparison
equal deleted inserted replaced
90862:e4b8d2bccfb0 90863:648e6c714c7d
1582 1582
1583 /* Check for mouse-face and help-echo. */ 1583 /* Check for mouse-face and help-echo. */
1584 { 1584 {
1585 extern Lisp_Object Qmouse_face; 1585 extern Lisp_Object Qmouse_face;
1586 Lisp_Object mouse_face, overlay, position, *overlay_vec; 1586 Lisp_Object mouse_face, overlay, position, *overlay_vec;
1587 int noverlays, obegv, ozv;; 1587 int noverlays, obegv, ozv;
1588 struct buffer *obuf; 1588 struct buffer *obuf;
1589 1589
1590 /* If we get an out-of-range value, return now; avoid an error. */ 1590 /* If we get an out-of-range value, return now; avoid an error. */
1591 if (pos > BUF_Z (XBUFFER (w->buffer))) 1591 if (pos > BUF_Z (XBUFFER (w->buffer)))
1592 return; 1592 return;
4069 int 4069 int
4070 getdefdir (drive, dst) 4070 getdefdir (drive, dst)
4071 int drive; 4071 int drive;
4072 char *dst; 4072 char *dst;
4073 { 4073 {
4074 char in_path[4], *p = in_path, e = errno;; 4074 char in_path[4], *p = in_path, e = errno;
4075 4075
4076 /* Generate "X:." (when drive is X) or "." (when drive is 0). */ 4076 /* Generate "X:." (when drive is X) or "." (when drive is 0). */
4077 if (drive != 0) 4077 if (drive != 0)
4078 { 4078 {
4079 *p++ = drive + 'A' - 1; 4079 *p++ = drive + 'A' - 1;