all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.