aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-06-05 19:14:34 +0000
committerStefan Monnier2008-06-05 19:14:34 +0000
commit1961ef0413be87ece3c5aac82d50c3f29d4e4ca0 (patch)
tree86d8380efa99058aa98d3005b9d5a46a59406fbf
parent1d1d90d6249c02a193fbf766ba60bdf26cc5413c (diff)
downloademacs-1961ef0413be87ece3c5aac82d50c3f29d4e4ca0.tar.gz
emacs-1961ef0413be87ece3c5aac82d50c3f29d4e4ca0.zip
(ffap-prompter): Don't use the region.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/ffap.el6
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dfbdb8269fe..7bc14c264ea 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * ffap.el (ffap-prompter): Don't use the region.
4
12008-06-05 Sam Steingold <sds@gnu.org> 52008-06-05 Sam Steingold <sds@gnu.org>
2 6
3 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS 7 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 4a63b769b97..8c2bf71afde 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -1398,7 +1398,11 @@ Uses the face `ffap' if it is defined, or else `highlight'."
1398 (ffap-read-file-or-url 1398 (ffap-read-file-or-url
1399 (if ffap-url-regexp "Find file or URL: " "Find file: ") 1399 (if ffap-url-regexp "Find file or URL: " "Find file: ")
1400 (prog1 1400 (prog1
1401 (setq guess (or guess (ffap-guesser))) ; using ffap-alist here 1401 (let ((mark-active nil))
1402 ;; Don't use the region here, since it can be something
1403 ;; completely unwieldy. If the user wants that, she could
1404 ;; use M-w before and then C-y. --Stef
1405 (setq guess (or guess (ffap-guesser)))) ; using ffap-alist here
1402 (and guess (ffap-highlight)) 1406 (and guess (ffap-highlight))
1403 ))) 1407 )))
1404 (ffap-highlight t))) 1408 (ffap-highlight t)))