annotate lisp/efs/dired-mule.el @ 42:8b8b7f3559a2 r19-15b104

Import from CVS: tag r19-15b104
author cvs
date Mon, 13 Aug 2007 08:54:51 +0200
parents 8fc7fe29b841
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
2 ;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
3 ;; File: dired-mule.el
42
8b8b7f3559a2 Import from CVS: tag r19-15b104
cvs
parents: 22
diff changeset
4 ;; Dired Version: #Revision: 7.9 $
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
5 ;; RCS:
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
6 ;; Description: MULE support for dired.
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
7 ;; Created: Sun Jul 17 14:45:12 1994 by sandy on ibm550
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
8 ;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
9 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
10
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
11 ;;; Acknowledgements:
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
12 ;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
13 ;; Ishikawa Ichiro for sending MULE patches and information.
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
14
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
15 (require 'dired)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
16
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
17 (defun dired-find-file (&optional coding-system)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
18 "In dired, visit the file or directory named on this line."
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
19 (interactive "ZCoding-system: ")
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
20 (find-file (dired-get-filename) coding-system))
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
21
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
22 (defun dired-find-file-other-window (&optional display coding-system)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
23 "In dired, visit this file or directory in another window.
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
24 With a prefix, the file is displayed, but the window is not selected."
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
25 (interactive "P\nZCoding-system: ")
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
26 (if display
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
27 (dired-display-file coding-system)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
28 (find-file-other-window (dired-get-filename) coding-system)))
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
29
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
30 (defun dired-display-file (&optional coding-system)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
31 "In dired, displays this file or directory in the other window."
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
32 (interactive "ZCoding-system: ")
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
33 (display-buffer
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
34 (find-file-noselect (dired-get-filename) coding-system)))
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
35
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
36 ;;; end of dired-mule.el