aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/globals.h4
-rw-r--r--src/message.c3
-rw-r--r--src/ops.c14
-rw-r--r--src/option.c2
-rw-r--r--src/ui.c2
5 files changed, 7 insertions, 18 deletions
diff --git a/src/globals.h b/src/globals.h
index 3ec799bf05..d856a4c155 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1118,10 +1118,6 @@ EXTERN char bot_top_msg[] INIT(= N_("search hit BOTTOM, continuing at TOP"));
EXTERN char need_key_msg[] INIT(= N_("Need encryption key for \"%s\""));
-/*
- * Comms. with the session manager (XSMP)
- */
-
/* For undo we need to know the lowest time possible. */
EXTERN time_t starttime;
diff --git a/src/message.c b/src/message.c
index 1411126c21..89bd787d5c 100644
--- a/src/message.c
+++ b/src/message.c
@@ -126,8 +126,7 @@ int msg(char_u *s)
return msg_attr_keep(s, 0, FALSE);
}
-#if defined(FEAT_EVAL) || defined(FEAT_X11) || defined(USE_XSMP) \
- || defined(FEAT_GUI_GTK) || defined(PROTO)
+#if defined(FEAT_EVAL) || defined(FEAT_GUI_GTK) || defined(PROTO)
/*
* Like msg() but keep it silent when 'verbosefile' is set.
*/
diff --git a/src/ops.c b/src/ops.c
index 2bb649a488..3a86432b01 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -44,20 +44,14 @@
#include "window.h"
/*
- * Number of registers.
- * 0 = unnamed register, for normal yanks and puts
+ * Registers:
+ * 0 = unnamed register, for normal yanks and puts
* 1..9 = registers '1' to '9', for deletes
* 10..35 = registers 'a' to 'z'
* 36 = delete register '-'
- * 37 = Selection register '*'. Only if FEAT_CLIPBOARD defined
- * 38 = Clipboard register '+'. Only if FEAT_CLIPBOARD and FEAT_X11 defined
*/
-/*
- * Symbolic names for some registers.
- */
-#define DELETION_REGISTER 36
-
-# define NUM_REGISTERS 37
+#define NUM_REGISTERS 37
+#define DELETION_REGISTER 36
/*
* Each yank register is an array of pointers to lines.
diff --git a/src/option.c b/src/option.c
index 9ba768c333..210a747022 100644
--- a/src/option.c
+++ b/src/option.c
@@ -363,7 +363,7 @@ struct vimoption {
/* The 16 bit MS-DOS version is low on space, make the string as short as
* possible when compiling with few features. */
#if defined(FEAT_DIFF) || defined(FEAT_FOLDING) || defined(FEAT_SPELL) \
- || defined(FEAT_VERTSPLIT) || defined(FEAT_CLIPBOARD) \
+ || defined(FEAT_VERTSPLIT) \
|| defined(FEAT_INS_EXPAND) || defined(FEAT_SYN_HL) || defined(FEAT_CONCEAL)
# define HIGHLIGHT_INIT \
"8:SpecialKey,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,N:CursorLineNr,r:Question,s:StatusLine,S:StatusLineNC,c:VertSplit,t:Title,v:Visual,V:VisualNOS,w:WarningMsg,W:WildMenu,f:Folded,F:FoldColumn,A:DiffAdd,C:DiffChange,D:DiffDelete,T:DiffText,>:SignColumn,-:Conceal,B:SpellBad,P:SpellCap,R:SpellRare,L:SpellLocal,+:Pmenu,=:PmenuSel,x:PmenuSbar,X:PmenuThumb,*:TabLine,#:TabLineSel,_:TabLineFill,!:CursorColumn,.:CursorLine,o:ColorColumn"
diff --git a/src/ui.c b/src/ui.c
index 799059aeea..6f4f6b200d 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -539,7 +539,7 @@ void ui_cursor_shape(void)
conceal_check_cursur_line();
}
-#if defined(FEAT_CLIPBOARD) || defined(FEAT_GUI) || defined(FEAT_RIGHTLEFT) \
+#if defined(FEAT_GUI) || defined(FEAT_RIGHTLEFT) \
|| defined(FEAT_MBYTE) || defined(PROTO)
/*
* Check bounds for column number