Patch 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)
Files:      src/ex_cmds.c


*** ../vim-7.4.274/src/ex_cmds.c        2014-04-29 12:15:22.856032651 +0200
--- src/ex_cmds.c       2014-05-07 14:38:31.293091622 +0200
***************
*** 7275,7281 ****
            else
                /* ":sign place {id} file={fname}": change sign type */
                lnum = buf_change_sign_type(buf, id, sp->sn_typenr);
!           update_debug_sign(buf, lnum);
        }
        else
            EMSG(_(e_invarg));
--- 7275,7284 ----
            else
                /* ":sign place {id} file={fname}": change sign type */
                lnum = buf_change_sign_type(buf, id, sp->sn_typenr);
!           if (lnum > 0)
!               update_debug_sign(buf, lnum);
!           else
!               EMSG2(_("E885: Not possible to change sign %s"), sign_name);
        }
        else
            EMSG(_(e_invarg));
*** ../vim-7.4.274/src/version.c        2014-05-02 15:46:10.731268318 +0200
--- src/version.c       2014-05-07 14:18:32.581081129 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     275,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
117. You are more comfortable typing in html.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui