aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2002-05-20 04:40:53 +0000
committerMiles Bader2002-05-20 04:40:53 +0000
commit257ae3a60a40f646e9fc2a5ebbd7165ccb57268b (patch)
tree93685be4edc0fdd71cab9fb3e7cbc0b5629986f7
parent5d598f1645671262bb8712e05bbee56f68481d2c (diff)
downloademacs-257ae3a60a40f646e9fc2a5ebbd7165ccb57268b.tar.gz
emacs-257ae3a60a40f646e9fc2a5ebbd7165ccb57268b.zip
(find-file-read-args): Don't trash existing value of
`minibuffer-setup-hook', just add our hook to it.
-rw-r--r--lisp/ChangeLog19
-rw-r--r--lisp/files.el13
2 files changed, 20 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b3340c730ee..b380603e0cf 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-05-20 Miles Bader <miles@gnu.org>
2
3 * files.el (find-file-read-args): Don't trash existing value of
4 `minibuffer-setup-hook', just add our hook to it.
5
12002-05-19 Markus Rost <rost@math.ohio-state.edu> 62002-05-19 Markus Rost <rost@math.ohio-state.edu>
2 7
3 * international/ucs-tables.el (unify-8859-on-encoding-mode) 8 * international/ucs-tables.el (unify-8859-on-encoding-mode)
@@ -230,7 +235,7 @@
230 (occur-engine): If there are no more matches, then finish 235 (occur-engine): If there are no more matches, then finish
231 searching the current buffer. 236 searching the current buffer.
232 237
2332002-05-12 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 2382002-05-12 Pavel Jan,Am(Bk <Pavel@Janik.cz>
234 239
235 * net/ange-ftp.el (ange-ftp-try-passive-mode) 240 * net/ange-ftp.el (ange-ftp-try-passive-mode)
236 (ange-ftp-passive-host-alist): Change :version attributes to be 241 (ange-ftp-passive-host-alist): Change :version attributes to be
@@ -272,7 +277,7 @@
272 277
273 * subr.el (functionp): Catch errors in indirect-function. 278 * subr.el (functionp): Catch errors in indirect-function.
274 279
2752002-05-12 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 2802002-05-12 Pavel Jan,Am(Bk <Pavel@Janik.cz>
276 281
277 * net/ldap.el (ldap-search-internal): Unfold folded lines before 282 * net/ldap.el (ldap-search-internal): Unfold folded lines before
278 parsing. 283 parsing.
@@ -355,7 +360,7 @@
355 360
356 * wid-edit.el (checkbox): New check-mark image. 361 * wid-edit.el (checkbox): New check-mark image.
357 362
3582002-05-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 3632002-05-08 Pavel Jan,Am(Bk <Pavel@Janik.cz>
359 364
360 * filesets.el (filesets-running-xemacs): Fix last change. 365 * filesets.el (filesets-running-xemacs): Fix last change.
361 366
@@ -375,7 +380,7 @@
375 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu): 380 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
376 Defvar them to nil if running in Emacs. 381 Defvar them to nil if running in Emacs.
377 382
3782002-05-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 3832002-05-08 Pavel Jan,Am(Bk <Pavel@Janik.cz>
379 384
380 * textmodes/flyspell.el (make-flyspell-overlay): Add help text 385 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
381 to flyspell overlays. 386 to flyspell overlays.
@@ -630,7 +635,7 @@
630 Only interpret delete-selection property if mark-active. 635 Only interpret delete-selection property if mark-active.
631 (cua-mode): Fixed require in defcustom. 636 (cua-mode): Fixed require in defcustom.
632 637
6332002-05-01 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 6382002-05-01 Pavel Jan,Am(Bk <Pavel@Janik.cz>
634 639
635 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of 640 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
636 error call. 641 error call.
@@ -765,7 +770,7 @@
765 770
766 * language/viet-util.el: Update Commentary section. 771 * language/viet-util.el: Update Commentary section.
767 772
7682002-04-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 7732002-04-29 Pavel Jan,Am(Bk <Pavel@Janik.cz>
769 774
770 * filesets.el (filesets-data): Doc fix. 775 * filesets.el (filesets-data): Doc fix.
771 (filesets-running-xemacs): Define even when compiling. 776 (filesets-running-xemacs): Define even when compiling.
@@ -830,7 +835,7 @@
830 * replace.el (occur-revert-arguments): 835 * replace.el (occur-revert-arguments):
831 Renamed from occur-revert-properties. All uses changed. 836 Renamed from occur-revert-properties. All uses changed.
832 837
8332002-04-28 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 8382002-04-28 Pavel Jan,Am(Bk <Pavel@Janik.cz>
834 839
835 * recentf.el (recentf-menu-before): Use string to specify path in 840 * recentf.el (recentf-menu-before): Use string to specify path in
836 the menu. 841 the menu.
diff --git a/lisp/files.el b/lisp/files.el
index 2feadc8c121..9169ae9193b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -773,12 +773,15 @@ documentation for additional customization information."
773 (list (let ((find-file-default 773 (list (let ((find-file-default
774 (and buffer-file-name 774 (and buffer-file-name
775 (abbreviate-file-name buffer-file-name))) 775 (abbreviate-file-name buffer-file-name)))
776 (munge-default-fun
777 (lambda ()
778 (setq minibuffer-default find-file-default)
779 ;; Clear out this hook so it does not interfere
780 ;; with any recursive minibuffer usage.
781 (pop minibuffer-setup-hook)))
776 (minibuffer-setup-hook 782 (minibuffer-setup-hook
777 '((lambda () 783 minibuffer-setup-hook))
778 (setq minibuffer-default find-file-default) 784 (add-hook 'minibuffer-setup-hook munge-default-fun)
779 ;; Clear out this hook so it does not interfere
780 ;; with any recursive minibuffer usage.
781 (setq minibuffer-setup-hook nil)))))
782 (read-file-name prompt nil default-directory)) 785 (read-file-name prompt nil default-directory))
783 current-prefix-arg)) 786 current-prefix-arg))
784 787