Skip to content
This repository has been archived by the owner on Feb 17, 2018. It is now read-only.

Commit

Permalink
fs-wtf .. provides direct call to wtf.el, so no need to retrain bot w…
Browse files Browse the repository at this point in the history
…hen wtf.el updates..
  • Loading branch information
deego committed Jul 1, 2005
1 parent 87f5902 commit aec7149
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion erbc6.el
@@ -1,5 +1,5 @@
;;; erbc6.el --- fsbot functions contributed by freenode users, esp. #emacsers.
;; Time-stamp: <2004-12-31 22:40:24 deego>
;; Time-stamp: <2005-07-01 12:59:50 deego>
;; Copyright (C) 2003 D. Goel
;; Emacs Lisp Archive entry
;; Filename: erbc6.el
Expand Down Expand Up @@ -63,6 +63,18 @@ Coded by bojohann on #emacs."
((eq sym 'v)
(apply 'fs-dv thing))))


(defun fsi-wtf-is (&optional term &rest args)
(unless term
(error "Syntax: wtf TERM"))
(require 'wtf)
(funcall 'wtf-is (format "%s" term)))



(defalias 'fsi-wtf 'fsi-wtf-is)


(provide 'erbc6)
(run-hooks 'erbc6-after-load-hook)

Expand Down
4 changes: 2 additions & 2 deletions erbtrain.el
@@ -1,5 +1,5 @@
;;; erbtrain.el --- Train erbot (erbot)..
;; Time-stamp: <2005-06-04 15:18:31 deego>
;; Time-stamp: <2005-07-01 12:36:32 deego>
;; Copyright (C) 2002 D. Goel
;; Emacs Lisp Archive entry
;; Filename: erbtrain.el
Expand Down Expand Up @@ -383,7 +383,7 @@ advantage of being much faster. "
"Teach the the bot from BOTSTRING some acronyms.
You will need wtf.el (from the contrib directory) for this
function to work.
See also the new function fs-wtf.
Don't forget to connect to irc before running this function."
(interactive)
(idledo-nullify)
Expand Down

0 comments on commit aec7149

Please sign in to comment.