unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* automatically turn on hexl-mode
@ 2003-06-04 21:27 Kin Cho
  2003-06-04 23:37 ` Pascal Bourguignon
  2003-06-05 15:27 ` Benjamin Riefenstahl
  0 siblings, 2 replies; 4+ messages in thread
From: Kin Cho @ 2003-06-04 21:27 UTC (permalink / raw)


Hi,

In my find-file-hooks function, I want to turn on hexl-mode
automatically based on content.  I.e.,

(and (buffer-content-looks-binary) (hexl-mode))

What's a reasonable implementation of buffer-content-looks-binary?

-kin

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

end of thread, other threads:[~2003-06-05 18:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-04 21:27 automatically turn on hexl-mode Kin Cho
2003-06-04 23:37 ` Pascal Bourguignon
2003-06-05 15:27 ` Benjamin Riefenstahl
2003-06-05 18:10   ` Kin Cho

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