unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* term-setup-hook v tty-setup-hook v emacs-startup-hook
@ 2014-02-24  8:17 Glenn Morris
  2014-02-24 13:06 ` Juanma Barranquero
  2014-02-24 20:03 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: Glenn Morris @ 2014-02-24  8:17 UTC (permalink / raw)
  To: emacs-devel


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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-24 20:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-24  8:17 term-setup-hook v tty-setup-hook v emacs-startup-hook Glenn Morris
2014-02-24 13:06 ` Juanma Barranquero
2014-02-24 16:57   ` Glenn Morris
2014-02-24 17:14     ` Juanma Barranquero
2014-02-24 17:26       ` Glenn Morris
2014-02-24 20:03 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).