unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Adding file types for automatic uncompressing
@ 2002-04-22 17:57 Molitor, Stephen
  2002-04-23  2:11 ` G Anna
  0 siblings, 1 reply; 2+ messages in thread
From: Molitor, Stephen @ 2002-04-22 17:57 UTC (permalink / raw)


I'd like to add a few file types to the set of compressed file types, so
that when I open a file via find-file or dired, it automatically get's
uncompressed.  Specifily, .ear and .war files.  These are just zip files,
with different extensions.  I tried doing this:

(setq auto-mode-alist (cons '("\\.ear$" . ear-mode) auto-mode-alist))
(setq file-name-buffer-file-type-alist (cons '("\\.ear$" . t)
file-name-buffer-file-type-alist))

But that didn't seem to have any effect.

Thanks!

Steve Molitor
smolitor@erac.com

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

end of thread, other threads:[~2002-04-23  2:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-22 17:57 Adding file types for automatic uncompressing Molitor, Stephen
2002-04-23  2:11 ` G Anna

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