1 |
vapier 08/06/29 11:19:04 |
2 |
|
3 |
Added: nano-2.1.2-history-justify.patch |
4 |
Log: |
5 |
Fix from upstream for search history when justify is disabled. |
6 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-editors/nano/files/nano-2.1.2-history-justify.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/files/nano-2.1.2-history-justify.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/files/nano-2.1.2-history-justify.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: nano-2.1.2-history-justify.patch |
15 |
=================================================================== |
16 |
http://savannah.gnu.org/bugs/?23733 |
17 |
|
18 |
commit 247a6e5862156ac59a83fb53ad620d38e2f05346 |
19 |
Author: astyanax <astyanax@35c25a1d-7b9e-4130-9fde-d3aeb78583b8> |
20 |
Date: Sun Jun 29 06:22:31 2008 +0000 |
21 |
|
22 |
Fix for 23733: search history broken with nano-2.1.1+ |
23 |
|
24 |
|
25 |
|
26 |
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4270 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 |
27 |
|
28 |
diff --git a/src/global.c b/src/global.c |
29 |
index 3e10886..4f2a291 100644 |
30 |
--- a/src/global.c |
31 |
+++ b/src/global.c |
32 |
@@ -1072,13 +1072,13 @@ void shortcut_init(bool unjustify) |
33 |
add_to_sclist(MALL, "khome", do_home, 0, TRUE); |
34 |
add_to_sclist(MALL, "^E", do_end, 0, TRUE); |
35 |
add_to_sclist(MALL, "kend", do_end, 0, TRUE); |
36 |
-#ifndef DISABLE_JUSTIFY |
37 |
#ifndef NANO_TINY |
38 |
add_to_sclist(MWHEREIS|MREPLACE|MREPLACE2|MWHEREISFILE, "^P", (void *) prev_history_msg, 0, FALSE); |
39 |
add_to_sclist(MWHEREIS|MREPLACE|MREPLACE2|MWHEREISFILE, "kup", (void *) prev_history_msg, 0, FALSE); |
40 |
add_to_sclist(MWHEREIS|MREPLACE|MREPLACE2|MWHEREISFILE, "^N", (void *) next_history_msg, 0, FALSE); |
41 |
add_to_sclist(MWHEREIS|MREPLACE|MREPLACE2|MWHEREISFILE, "kdown", (void *) next_history_msg, 0, FALSE); |
42 |
#endif |
43 |
+#ifndef DISABLE_JUSTIFY |
44 |
add_to_sclist(MWHEREIS|MREPLACE|MREPLACE2, |
45 |
"^W", do_para_begin_void, 0, TRUE); |
46 |
add_to_sclist(MWHEREIS|MREPLACE|MREPLACE2, |
47 |
|
48 |
|
49 |
|
50 |
-- |
51 |
gentoo-commits@l.g.o mailing list |