summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/expr.h
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@suse.de>2012-08-23 14:55:06 -0400
committerMichal Marek <mmarek@suse.cz>2012-09-27 18:09:24 +0200
commit5e609addb1bd963ce1a1929f2012c8dd04ca8620 (patch)
tree6ec819fc7af3de4bfcddb3f42c2a2c0121ed2653 /scripts/kconfig/expr.h
parent1d1e2caebbf1f4f25ad473e90650cdc9291fdd22 (diff)
downloadlinux-stable-5e609addb1bd963ce1a1929f2012c8dd04ca8620.tar.gz
linux-stable-5e609addb1bd963ce1a1929f2012c8dd04ca8620.tar.bz2
linux-stable-5e609addb1bd963ce1a1929f2012c8dd04ca8620.zip
menuconfig: Add jump keys to search results
makes it possible to jump directly to the menu for a configuration entry after having searched for it with '/'. If this menu is not currently accessible we jump to the nearest accessible parent instead. After exiting this menu, the user is returned to the search results where he may jump further in or elsewhere. Signed-off-by: Benjamin Poirier <bpoirier@suse.de> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r--scripts/kconfig/expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index d4ecce8bc3a6..52f4246bd34d 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -173,6 +173,8 @@ struct menu {
#define MENU_CHANGED 0x0001
#define MENU_ROOT 0x0002
+#define JUMP_NB 9
+
extern struct file *file_list;
extern struct file *current_file;
struct file *lookup_file(const char *name);