summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2012-11-20 11:28:53 -0800
committerDaniel Colascione <dancol@dancol.org>2012-11-20 11:28:53 -0800
commita16ac13f6299d2610284a6b3fb4231c3279d2e9c (patch)
treef46d36b8a4375e83bf149eb5a80e7c8f428c7bc7 /lisp/term
parent7cf95797aff43cb59fec03905a8937d41e68ada1 (diff)
downloademacs-a16ac13f6299d2610284a6b3fb4231c3279d2e9c.tar.gz
Backport: Rename cygwin_convert_path* to cygwin_convert_file_name*
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/w32-win.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index ad6e1125027..3f8a66843e4 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -91,6 +91,9 @@
(declare-function w32-send-sys-command "w32fns.c")
(declare-function set-message-beep "w32fns.c")
+(declare-function cygwin-convert-file-name-from-windows "cygw32.c"
+ (path &optional absolute_p))
+
;; Conditional on new-fontset so bootstrapping works on non-GUI compiles
(if (fboundp 'new-fontset)
(require 'fontset))
@@ -105,7 +108,7 @@
(defun w32-handle-dropped-file (window file-name)
(let ((f (if (eq system-type 'cygwin)
- (cygwin-convert-path-from-windows file-name t)
+ (cygwin-convert-file-name-from-windows file-name t)
(subst-char-in-string ?\\ ?/ file-name)))
(coding (or file-name-coding-system
default-file-name-coding-system)))