Created
June 24, 2013 17:45
-
-
Save dhaley/5851985 to your computer and use it in GitHub Desktop.
drupal-mode utf8 error
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
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p [utf-8-unix utf-8-dos utf-8-mac]) | |
/=([utf-8-unix utf-8-dos utf-8-mac] 0) | |
(and drupal-mode drupal-convert-line-ending (/= (coding-system-eol-type buffer-file-coding-system) 0)) | |
(if (and drupal-mode drupal-convert-line-ending (/= (coding-system-eol-type buffer-file-coding-system) 0)) (progn (if (or (eq drupal-convert-line-ending t) (y-or-n-p "Convert to unix style line endings?")) (progn (message "Coding system conversion") (set-buffer-file-coding-system (quote unix))) (progn (setq drupal-convert-line-ending nil))))) | |
drupal-convert-line-ending() | |
run-hooks(before-save-hook) | |
basic-save-buffer() | |
save-buffer(1) | |
call-interactively(save-buffer nil nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment