Commit f387f330 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

2009-12-07 David Lawrence Ramsey <pooka109@gmail.com>

        * global.c (shortcut_init), browser.c (do_browser): Fix M-W not being bound to 
          research in either main menu or browser.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4461 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 7 additions and 3 deletions
+7 -3
2009-12-07 David Lawrence Ramsey <pooka109@gmail.com>
* global.c (shortcut_init), browser.c (do_browser): Fix M-W not being bound to
research in either main menu or browser.
2009-12-09 Chris Allegretta <chrisa@asty.org> 2009-12-09 Chris Allegretta <chrisa@asty.org>
* files.c (read_file) - Add parameter for whether we should even try to check * files.c (read_file) - Add parameter for whether we should even try to check
file writability, as the message is useless when we're inserting into an file writability, as the message is useless when we're inserting into an
......
...@@ -184,7 +184,7 @@ char *do_browser(char *path, DIR *dir) ...@@ -184,7 +184,7 @@ char *do_browser(char *path, DIR *dir)
do_filesearch(); do_filesearch();
curs_set(0); curs_set(0);
/* Search for another filename. */ /* Search for another filename. */
} else if (f->scfunc == WHEREIS_NEXT_MSG) { } else if (f->scfunc == DO_RESEARCH) {
do_fileresearch(); do_fileresearch();
} else if (f->scfunc == DO_PAGE_UP) { } else if (f->scfunc == DO_PAGE_UP) {
if (selected >= (editwinrows + fileline % editwinrows) * if (selected >= (editwinrows + fileline % editwinrows) *
......
...@@ -1062,8 +1062,8 @@ void shortcut_init(bool unjustify) ...@@ -1062,8 +1062,8 @@ void shortcut_init(bool unjustify)
add_to_sclist(MMAIN, "^^", DO_MARK, 0, TRUE); add_to_sclist(MMAIN, "^^", DO_MARK, 0, TRUE);
add_to_sclist(MMAIN, "F15", DO_MARK, 0, TRUE); add_to_sclist(MMAIN, "F15", DO_MARK, 0, TRUE);
add_to_sclist(MMAIN, "M-A", DO_MARK, 0, TRUE); add_to_sclist(MMAIN, "M-A", DO_MARK, 0, TRUE);
add_to_sclist(MALL, "M-W", DO_RESEARCH, 0, TRUE); add_to_sclist(MMAIN|MBROWSER, "M-W", DO_RESEARCH, 0, TRUE);
add_to_sclist(MALL, "F16", DO_RESEARCH, 0, TRUE); add_to_sclist(MMAIN|MBROWSER, "F16", DO_RESEARCH, 0, TRUE);
add_to_sclist(MMAIN, "M-^", DO_COPY_TEXT, 0, TRUE); add_to_sclist(MMAIN, "M-^", DO_COPY_TEXT, 0, TRUE);
add_to_sclist(MMAIN, "M-6", DO_COPY_TEXT, 0, TRUE); add_to_sclist(MMAIN, "M-6", DO_COPY_TEXT, 0, TRUE);
add_to_sclist(MMAIN, "M-}", DO_INDENT_VOID, 0, TRUE); add_to_sclist(MMAIN, "M-}", DO_INDENT_VOID, 0, TRUE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment