[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automatically turn on hexl-mode

From: Kin Cho
Subject: automatically turn on hexl-mode
Date: 04 Jun 2003 14:27:29 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3


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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]