[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch present in pretest not applied in CVS
From: |
Dan Nicolaescu |
Subject: |
patch present in pretest not applied in CVS |
Date: |
Sat, 03 May 2003 18:58:42 -0700 |
This patch:
2002-06-24 Pavel JanESC,AmESC(Bk <address@hidden>
* dired.el (dired-find-file): Bind find-file-run-dired around the
call to find-file. From Dan Nicolaescu <address@hidden>.
is present in the pretests, but not in the mainline CVS
Background:
Currently if `find-file-run-dired' is set to nil and RET is pressed
when the cursor is on a directory in dired nothing happens.
2003-05-03 Dan Nicolaescu <address@hidden>
* dired.el (dired-find-file): Bind find-file-run-dired around
the call to find-file.
*** dired.el.~1.258.~ 2003-04-18 22:34:12.000000000 -0700
--- dired.el 2003-05-03 18:06:33.000000000 -0700
***************
*** 1362,1368 ****
(defun dired-find-file ()
"In Dired, visit the file or directory named on this line."
(interactive)
! (find-file (dired-get-file-for-visit)))
(defun dired-find-alternate-file ()
"In Dired, visit this file or directory instead of the dired buffer."
--- 1362,1372 ----
(defun dired-find-file ()
"In Dired, visit the file or directory named on this line."
(interactive)
! (let
! ;; bind `find-file-run-dired' so that the command works on directories
! ;; too, independent of the user's setting
! ((find-file-run-dired t))
! (find-file (dired-get-file-for-visit))))
(defun dired-find-alternate-file ()
"In Dired, visit this file or directory instead of the dired buffer."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch present in pretest not applied in CVS,
Dan Nicolaescu <=