Commit 5f50b08f authored by David Byers's avatar David Byers
Browse files

Uppdaterade användning av kom-login-hook och lyskom-login-hook

parent 1ff95867
Mon Jul 8 10:37:48 1996 David Byers <davby@sen2.ida.liu.se>
* vars.el.in (lyskom-login-hook): Defvarade denna.
(kom-login-hook): Uppdaterade dokumentationen.
* startup.el (kom-start-anew): Bytte ordningen mellan
kom-login-hook och lyskom-login-hook.
* filter.el (kom-super-jump): Vljer mottagare att filtrera som
aktuellt mte om inlgget har aktuellt mte som mottagare, annars
inlggets frsta mottagare.
......
......@@ -253,8 +253,8 @@ See lyskom-mode for details."
;; login, just because something crashed here.
(condition-case err
(progn
(run-hooks 'kom-login-hook)
(run-hooks 'lyskom-login-hook))
(run-hooks 'lyskom-login-hook)
(run-hooks 'kom-login-hook))
(error (lyskom-format-insert-before-prompt
'error-in-login-hook (format "%s" err)))))
......
......@@ -170,10 +170,18 @@ This variable is stored in the LysKOM server.")
This variable is not saved in the LysKOM server.")
(defvar lyskom-login-hook nil
"What to do when logged in.
This hook is called after we have logged in but before and command is
accepted from the keyboard. It is called immediately before
kom-login-hook.
This variable is not stored in the LysKOM server.")
(defvar kom-login-hook nil
"*What to do when logged in.
This is a list of commands that are executed after we have logged in but before
any command is accepted from the keyboard.
any command is accepted from the keyboard. See also lyskom-login-hook.
This variable is stored in the LysKOM server.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment