[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
term-setup-hook v tty-setup-hook v emacs-startup-hook
From: |
Glenn Morris |
Subject: |
term-setup-hook v tty-setup-hook v emacs-startup-hook |
Date: |
Mon, 24 Feb 2014 03:17:52 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Trying to document the new tty-setup-hook, I found it confusing that
Emacs now has both term-setup-hook and tty-setup-hook, with similar
names and descriptions.
On inspection, term-setup-hook seems to serve no purpose.
It is run by startup.el immediately after emacs-startup-hook.
So anything that you might want to use term-setup-hook for,
you could just as well use emacs-startup-hook instead.
I think it would be less confusing if term-setup-hook were made
obsolete (and undocumented) in favour of emacs-startup-hook.
(tty-setup-hook is a bit different.)