+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.
(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)
(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
(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)