all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* lisp/url/ file with Xemacs compatibility code removed
@ 2004-10-28 12:06 CHENG Gao
  2004-10-30  3:27 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: CHENG Gao @ 2004-10-28 12:06 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

Attached is diff file for related changes.
If it's desirable to remove Xemacs compatibility code from url package
(as I think, it's merged into Emacs project, so it's not expected to
maintain this compatibility any more), please take a look. Otherwise
please ignore it.


[-- Attachment #2: url-diff --]
[-- Type: application/octet-stream, Size: 3515 bytes --]

--- d:/emacs/lisp/url/url-dired.el	2004-10-28 19:26:58.703125000 +0800
+++ d:/url/url-dired.el	2004-10-28 19:32:35.156250000 +0800
@@ -30,9 +30,7 @@
 (defvar url-dired-minor-mode-map
   (let ((map (make-sparse-keymap)))
     (define-key map "\C-m" 'url-dired-find-file)
-    (if (featurep 'xemacs)
-	(define-key map [button2] 'url-dired-find-file-mouse)
-      (define-key map [mouse-2] 'url-dired-find-file-mouse))
+    (define-key map [mouse-2] 'url-dired-find-file-mouse)
     map)
   "Keymap used when browsing directories.")
 
--- d:/emacs/lisp/url/url-file.el	2004-10-28 19:26:58.734375000 +0800
+++ d:/url/url-file.el	2004-10-28 19:34:16.312500000 +0800
@@ -231,12 +231,8 @@
 (url-file-create-wrapper file-readable-p (url))
 (url-file-create-wrapper file-writable-p (url))
 (url-file-create-wrapper file-executable-p (url))
-(if (featurep 'xemacs)
-    (progn
-      (url-file-create-wrapper directory-files (url &optional full match nosort files-only))
-      (url-file-create-wrapper file-truename (url &optional default)))
-  (url-file-create-wrapper directory-files (url &optional full match nosort))
-  (url-file-create-wrapper file-truename (url &optional counter prev-dirs)))
+(url-file-create-wrapper directory-files (url &optional full match nosort))
+(url-file-create-wrapper file-truename (url &optional counter prev-dirs))
 
 (provide 'url-file)
 
--- d:/emacs/lisp/url/url-handlers.el	2004-10-28 19:26:58.796875000 +0800
+++ d:/url/url-handlers.el	2004-10-28 19:49:35.906250000 +0800
@@ -233,18 +233,11 @@
 (url-handlers-create-wrapper file-directory-p (url))
 (url-handlers-create-wrapper file-executable-p (url))
 
-(if (featurep 'xemacs)
-    (progn
-      ;; XEmacs specific prototypes
-      (url-handlers-create-wrapper
-       directory-files (url &optional full match nosort files-only))
-      (url-handlers-create-wrapper
-       file-truename (url &optional default)))
-  ;; Emacs specific prototypes
-  (url-handlers-create-wrapper
+;; Emacs specific prototypes
+(url-handlers-create-wrapper
    directory-files (url &optional full match nosort))
+(url-handlers-create-wrapper
+   file-truename (url &optional counter prev-dirs))
 
 (add-hook 'find-file-hook 'url-handlers-set-buffer-mode)
 
--- d:/emacs/lisp/url/url-http.el	2004-10-28 19:26:58.843750000 +0800
+++ d:/url/url-http.el	2004-10-28 19:50:38.187500000 +0800
@@ -821,9 +821,7 @@
 				 (list 'start-open t
 				       'end-open t
 				       'chunked-encoding t
-				       'face (if (featurep 'xemacs)
-						 'text-cursor
-					       'cursor)
+				       'face 'cursor
 				       'invisible t))
 	    (setq url-http-chunked-length (string-to-int (buffer-substring
 							  (match-beginning 1)
--- d:/emacs/lisp/url/url-nfs.el	2004-10-28 19:26:59.046875000 +0800
+++ d:/url/url-nfs.el	2004-10-28 19:51:17.812500000 +0800
@@ -86,12 +86,8 @@
 (url-nfs-create-wrapper file-readable-p (url))
 (url-nfs-create-wrapper file-writable-p (url))
 (url-nfs-create-wrapper file-executable-p (url))
-(if (featurep 'xemacs)
-    (progn
-      (url-nfs-create-wrapper directory-files (url &optional full match nosort files-only))
-      (url-nfs-create-wrapper file-truename (url &optional default)))
-  (url-nfs-create-wrapper directory-files (url &optional full match nosort))
-  (url-nfs-create-wrapper file-truename (url &optional counter prev-dirs)))
+(url-nfs-create-wrapper directory-files (url &optional full match nosort))
+(url-nfs-create-wrapper file-truename (url &optional counter prev-dirs))
 
 (provide 'url-nfs)
 

 

[-- Attachment #3: Type: text/plain, Size: 47 bytes --]


-- 
德不孤,必有邻
         -- 《论语-里仁》


[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-31 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 12:06 lisp/url/ file with Xemacs compatibility code removed CHENG Gao
2004-10-30  3:27 ` Richard Stallman
2004-10-31 13:43   ` CHENG Gao

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.