Created
September 18, 2017 04:57
-
-
Save tek-nishi/4beb052771b37253e6346e76be03fdb3 to your computer and use it in GitHub Desktop.
display with signature text or not, mode-line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun my-mode-line-bom-info () | |
"if with-signature text -> output (B)" | |
(let ((bc (format "%s" buffer-file-coding-system))) | |
(concat (and (string-match "with-signature" bc) "(B)")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment