Synch to No Gnus 200505312304.
authoryamaoka <yamaoka>
Tue, 31 May 2005 23:05:19 +0000 (23:05 +0000)
committeryamaoka <yamaoka>
Tue, 31 May 2005 23:05:19 +0000 (23:05 +0000)
lisp/ChangeLog
lisp/gnus-util.el
lisp/lpath.el
lisp/starttls.el

index 5dadacb..b8e8968 100644 (file)
@@ -1,3 +1,11 @@
+2005-05-31  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * lpath.el: Fbind ldap-search-entries.
+
+       * gnus-util.el (gnus-set-process-query-on-exit-flag): Use defalias.
+
+       * starttls.el (starttls-set-process-query-on-exit-flag): Ditto.
+
 2005-05-31  Simon Josefsson  <jas@extundo.com>
 
        * smime.el (smime-replace-in-string): Define.
index 143f0e9..c5bd20a 100644 (file)
@@ -1596,13 +1596,11 @@ empty directories from OLD-PATH."
   (ignore-errors
     (set-file-modes filename mode)))
 
-(defun gnus-set-process-query-on-exit-flag (process flag)
-  "Run `set-process-query-on-exit-flag' if it is available.
-Otherwise, run `process-kill-without-query'."
-  (let ((fn (if (fboundp 'set-process-query-on-exit-flag)
-               'set-process-query-on-exit-flag
-             'process-kill-without-query)))
-    (funcall fn process flag)))
+(if (fboundp 'set-process-query-on-exit-flag)
+    (defalias 'gnus-set-process-query-on-exit-flag
+      'set-process-query-on-exit-flag)
+  (defalias 'gnus-set-process-query-on-exit-flag
+    'process-kill-without-query))
 
 (provide 'gnus-util)
 
index d4ff257..1daee79 100644 (file)
   (maybe-fbind '(bbdb-complete-name
                 delete-annotation delete-extent device-connection dfw-device
                 events-to-keys font-lock-set-defaults frame-device
-                get-char-table glyph-height glyph-width mail-aliases-setup
-                make-annotation make-event make-glyph make-network-process
-                map-extents message-xmas-redefine put-char-table
-                set-extent-property temp-directory
+                get-char-table glyph-height glyph-width ldap-search-entries
+                mail-aliases-setup make-annotation make-event make-glyph
+                make-network-process map-extents message-xmas-redefine
+                put-char-table set-extent-property temp-directory
                 valid-image-instantiator-format-p
                 w3-coding-system-for-mime-charset w3-do-setup
                 w3-prepare-buffer w3-region window-pixel-height
index 5b1bd2b..4a7c69c 100644 (file)
@@ -236,13 +236,11 @@ handshake, or NIL on failure."
       (starttls-negotiate-gnutls process)
     (signal-process (process-id process) 'SIGALRM)))
 
-(defun starttls-set-process-query-on-exit-flag (process flag)
-  "Run `set-process-query-on-exit-flag' if it is available.
-Otherwise, run `process-kill-without-query'."
-  (let ((fn (if (fboundp 'set-process-query-on-exit-flag)
-               'set-process-query-on-exit-flag
-             'process-kill-without-query)))
-    (funcall fn process flag)))
+(if (fboundp 'set-process-query-on-exit-flag)
+    (defalias 'starttls-set-process-query-on-exit-flag
+      'set-process-query-on-exit-flag)
+  (defalias 'starttls-set-process-query-on-exit-flag
+    'process-kill-without-query))
 
 (defun starttls-open-stream-gnutls (name buffer host service)
   (message "Opening STARTTLS connection to `%s'..." host)