Mercurial > vim
comparison src/ex_docmd.c @ 15597:536dd2bc5ac9 v8.1.0806
patch 8.1.0806: too many #ifdefs
commit https://github.com/vim/vim/commit/fc3abf47fbe1e426f2b676c316c81ee9ff607075
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 24 15:54:21 2019 +0100
patch 8.1.0806: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Jan 2019 16:00:08 +0100 |
parents | 1ec942f1b648 |
children | 6f1c7e9a6393 |
comparison
equal
deleted
inserted
replaced
15596:d614c94f60fd | 15597:536dd2bc5ac9 |
---|---|
4298 case CMD_packadd: | 4298 case CMD_packadd: |
4299 xp->xp_context = EXPAND_PACKADD; | 4299 xp->xp_context = EXPAND_PACKADD; |
4300 xp->xp_pattern = arg; | 4300 xp->xp_pattern = arg; |
4301 break; | 4301 break; |
4302 | 4302 |
4303 #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \ | 4303 #if defined(HAVE_LOCALE_H) || defined(X_LOCALE) |
4304 && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE)) | |
4305 case CMD_language: | 4304 case CMD_language: |
4306 p = skiptowhite(arg); | 4305 p = skiptowhite(arg); |
4307 if (*p == NUL) | 4306 if (*p == NUL) |
4308 { | 4307 { |
4309 xp->xp_context = EXPAND_LANGUAGE; | 4308 xp->xp_context = EXPAND_LANGUAGE; |
5961 {EXPAND_HELP, "help"}, | 5960 {EXPAND_HELP, "help"}, |
5962 {EXPAND_HIGHLIGHT, "highlight"}, | 5961 {EXPAND_HIGHLIGHT, "highlight"}, |
5963 #if defined(FEAT_CMDHIST) | 5962 #if defined(FEAT_CMDHIST) |
5964 {EXPAND_HISTORY, "history"}, | 5963 {EXPAND_HISTORY, "history"}, |
5965 #endif | 5964 #endif |
5966 #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \ | 5965 #if defined(HAVE_LOCALE_H) || defined(X_LOCALE) |
5967 && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE)) | |
5968 {EXPAND_LOCALES, "locale"}, | 5966 {EXPAND_LOCALES, "locale"}, |
5969 #endif | 5967 #endif |
5970 {EXPAND_MAPCLEAR, "mapclear"}, | 5968 {EXPAND_MAPCLEAR, "mapclear"}, |
5971 {EXPAND_MAPPINGS, "mapping"}, | 5969 {EXPAND_MAPPINGS, "mapping"}, |
5972 {EXPAND_MENUS, "menu"}, | 5970 {EXPAND_MENUS, "menu"}, |