Mercurial > vim
comparison src/option.h @ 15840:734b1928a5aa v8.1.0927
patch 8.1.0927: USE_CR is never defined
commit https://github.com/vim/vim/commit/00590740081489db69f43d9f1c0e3f70e29ce6da
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 15 21:06:09 2019 +0100
patch 8.1.0927: USE_CR is never defined
Problem: USE_CR is never defined.
Solution: Remove usage of USE_CR. (Ken Takata, closes https://github.com/vim/vim/issues/3958)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 15 Feb 2019 21:15:07 +0100 |
parents | c017195b121b |
children | 7fad90423bd2 |
comparison
equal
deleted
inserted
replaced
15839:ed6ecf44dbaf | 15840:734b1928a5aa |
---|---|
48 # define DFLT_FF "dos" | 48 # define DFLT_FF "dos" |
49 # define DFLT_FFS_VIM "dos,unix" | 49 # define DFLT_FFS_VIM "dos,unix" |
50 # define DFLT_FFS_VI "dos,unix" /* also autodetect in compatible mode */ | 50 # define DFLT_FFS_VI "dos,unix" /* also autodetect in compatible mode */ |
51 # define DFLT_TEXTAUTO TRUE | 51 # define DFLT_TEXTAUTO TRUE |
52 #else | 52 #else |
53 # ifdef USE_CR | 53 # define DFLT_FF "unix" |
54 # define DFLT_FF "mac" | 54 # define DFLT_FFS_VIM "unix,dos" |
55 # define DFLT_FFS_VIM "mac,unix,dos" | 55 # ifdef __CYGWIN__ |
56 # define DFLT_FFS_VI "mac,unix,dos" | 56 # define DFLT_FFS_VI "unix,dos" /* Cygwin always needs file detection */ |
57 # define DFLT_TEXTAUTO TRUE | 57 # define DFLT_TEXTAUTO TRUE |
58 # else | 58 # else |
59 # define DFLT_FF "unix" | 59 # define DFLT_FFS_VI "" |
60 # define DFLT_FFS_VIM "unix,dos" | 60 # define DFLT_TEXTAUTO FALSE |
61 # ifdef __CYGWIN__ | |
62 # define DFLT_FFS_VI "unix,dos" /* Cygwin always needs file detection */ | |
63 # define DFLT_TEXTAUTO TRUE | |
64 # else | |
65 # define DFLT_FFS_VI "" | |
66 # define DFLT_TEXTAUTO FALSE | |
67 # endif | |
68 # endif | 61 # endif |
69 #endif | 62 #endif |
70 | 63 |
71 | 64 |
72 /* Possible values for 'encoding' */ | 65 /* Possible values for 'encoding' */ |