~ubuntu-branches/debian/wheezy/nano/wheezy

« back to all changes in this revision

Viewing changes to src/files.c

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach
  • Date: 2010-08-30 19:35:50 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100830193550-rh1z5x2nldsf8g4b
Tags: 2.2.6-1
* The "Què vol que li diga? Que vosté és una sinvergüensa?" release.
* New upstream release.
* Apply auto.patch from Tiago Silva (and DEP-3ified by Colin Watson)
  to support C/C++ 'auto' storage class specifier (closes: #605403).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: files.c 4509 2010-06-24 14:47:00Z astyanax $ */
 
1
/* $Id: files.c 4520 2010-11-12 06:23:14Z astyanax $ */
2
2
/**************************************************************************
3
3
 *   files.c                                                              *
4
4
 *                                                                        *
1066
1066
 * allow inserting a file into a new buffer. */
1067
1067
void do_insertfile_void(void)
1068
1068
{
 
1069
 
 
1070
    if (ISSET(RESTRICTED)) {
 
1071
        nano_disabled_msg();
 
1072
        return;
 
1073
    }
 
1074
 
1069
1075
#ifdef ENABLE_MULTIBUFFER
1070
1076
    if (ISSET(VIEW_MODE) && !ISSET(MULTIBUFFER))
1071
1077
        statusbar(_("Key invalid in non-multibuffer mode"));