# HG changeset patch # User Bram Moolenaar # Date 1399466324 -7200 # Node ID 8a3117a4887c1e12a1165c9719491f96753787d6 # Parent 075eea398ffffd51e0611c419defa9561f00f709 updated for version 7.4.275 Problem: When changing the type of a sign that hasn't been placed ther is no error message. Solution: Add an error message. (Christian Brabandt) diff --git a/src/ex_cmds.c b/src/ex_cmds.c --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -7275,7 +7275,10 @@ ex_sign(eap) else /* ":sign place {id} file={fname}": change sign type */ lnum = buf_change_sign_type(buf, id, sp->sn_typenr); - update_debug_sign(buf, lnum); + if (lnum > 0) + update_debug_sign(buf, lnum); + else + EMSG2(_("E885: Not possible to change sign %s"), sign_name); } else EMSG(_(e_invarg)); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 275, +/**/ 274, /**/ 273,