changeset 53313:89450ca4c47e

(ffap-read-file-or-url): Revert previous change.
author Luc Teirlinck <teirllm@auburn.edu>
date Thu, 25 Dec 2003 17:44:48 +0000
parents 93fc4ea3546c
children 990c58ec131c
files lisp/ffap.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ffap.el	Thu Dec 25 17:31:23 2003 +0000
+++ b/lisp/ffap.el	Thu Dec 25 17:44:48 2003 +0000
@@ -1216,7 +1216,7 @@
 	     'ffap-read-file-or-url-internal
 	     dir
 	     nil
-	     (if dir (cons guess (1+ (length dir))) guess)
+	     (if dir (cons guess (length dir)) guess)
 	     (list 'file-name-history))))
     ;; Do file substitution like (interactive "F"), suggested by MCOOK.
     (or (ffap-url-p guess) (setq guess (substitute-in-file-name guess)))