We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcf7a8b commit 8978316Copy full SHA for 8978316
drupal-mode.el
@@ -458,7 +458,7 @@ According to https://drupal.org/coding-standards#indenting you
458
should save your files with unix style end of line."
459
(when (and drupal-mode
460
drupal-convert-line-ending
461
- (/= (coding-system-eol-type buffer-file-coding-system) 0))
+ (not (equal (coding-system-eol-type (or coding-system-for-write buffer-file-coding-system)) 0)))
462
(if (or (eq drupal-convert-line-ending t)
463
(y-or-n-p "Convert to unix style line endings?"))
464
(progn
0 commit comments