]> git.wh0rd.org Git - nano.git/commitdiff
in shortcut_init(), allow the mark to be used in view mode, as Pico does
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 12 Jun 2005 23:53:28 +0000 (23:53 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 12 Jun 2005 23:53:28 +0000 (23:53 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2637 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/global.c

index 7419d0207c388d6a040d72717aa4c452e20e0ff8..79194365e15c0cd839f5514426cb01afcf295c3e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -114,6 +114,7 @@ CVS code -
          the help browser shortcut list, for consistency. (DLR)
        - Remove unnecessary "Refresh" placeholder in the file browser
          shortcut list. (DLR)
+       - Allow the mark to be used in view mode, as Pico does. (DLR)
   thanks_for_all_the_fish()
        - Remove free_toggles() and move its code here verbatim, as it's
          only called here anyway. (David Benbennick)
index 4512e10f28d571007c54a6ddb341ff8aaea31b27..d1fede031a0e8c30d86490082931734417ffb529 100644 (file)
@@ -512,7 +512,7 @@ void shortcut_init(bool unjustify)
 #ifndef NANO_SMALL
     sc_init_one(&main_list, NANO_MARK_KEY, N_("Mark Text"),
        IFHELP(nano_mark_msg, NANO_MARK_ALTKEY), NANO_MARK_FKEY,
-       NANO_NO_KEY, NOVIEW, do_mark);
+       NANO_NO_KEY, VIEW, do_mark);
 
     sc_init_one(&main_list, NANO_NO_KEY, N_("Where Is Next"),
        IFHELP(nano_whereis_next_msg, NANO_WHEREIS_NEXT_KEY),