Mercurial > vim
comparison src/ex_cmds.c @ 8560:f3c636c673f7 v7.4.1570
commit https://github.com/vim/vim/commit/426dd0219512af5f4abeb0901b533159253ffba3
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 15 15:09:29 2016 +0100
patch 7.4.1570
Problem: There is no way to avoid the message when editing a file.
Solution: Add the "F" flag to 'shortmess'. (Shougo, closes https://github.com/vim/vim/issues/686)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 15 Mar 2016 15:15:04 +0100 |
parents | f4dca5239317 |
children | c76cb97073bd |
comparison
equal
deleted
inserted
replaced
8559:d13b2c2fb02a | 8560:f3c636c673f7 |
---|---|
2603 { | 2603 { |
2604 if (rename_buffer(eap->arg) == FAIL) | 2604 if (rename_buffer(eap->arg) == FAIL) |
2605 return; | 2605 return; |
2606 } | 2606 } |
2607 /* print full file name if :cd used */ | 2607 /* print full file name if :cd used */ |
2608 fileinfo(FALSE, FALSE, eap->forceit); | 2608 if (!shortmess(SHM_FILEINFO)) |
2609 fileinfo(FALSE, FALSE, eap->forceit); | |
2609 } | 2610 } |
2610 | 2611 |
2611 /* | 2612 /* |
2612 * ":update". | 2613 * ":update". |
2613 */ | 2614 */ |
3882 check_for_delay(FALSE); | 3883 check_for_delay(FALSE); |
3883 msg_start(); | 3884 msg_start(); |
3884 msg_scroll = msg_scroll_save; | 3885 msg_scroll = msg_scroll_save; |
3885 msg_scrolled_ign = TRUE; | 3886 msg_scrolled_ign = TRUE; |
3886 | 3887 |
3887 fileinfo(FALSE, TRUE, FALSE); | 3888 if (!shortmess(SHM_FILEINFO)) |
3889 fileinfo(FALSE, TRUE, FALSE); | |
3888 | 3890 |
3889 msg_scrolled_ign = FALSE; | 3891 msg_scrolled_ign = FALSE; |
3890 } | 3892 } |
3891 | 3893 |
3892 if (command != NULL) | 3894 if (command != NULL) |