qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] Changes to qemacs/hex.c


From: Charlie Gordon
Subject: [Qemacs-commit] Changes to qemacs/hex.c
Date: Mon, 24 Apr 2006 11:32:29 +0000

Index: qemacs/hex.c
diff -u qemacs/hex.c:1.5 qemacs/hex.c:1.6
--- qemacs/hex.c:1.5    Fri May 13 10:05:24 2005
+++ qemacs/hex.c        Mon Apr 24 11:32:29 2006
@@ -124,7 +124,7 @@
     CMD1( KEY_NONE, KEY_NONE, "decrease-width", do_incr_width, -1)
     CMD1( KEY_NONE, KEY_NONE, "increase-width", do_incr_width, 1)
     CMD_( KEY_NONE, KEY_NONE, "set-width", do_set_width, "i{Width: }")
-    CMD_( KEY_NONE, KEY_NONE, "goto-byte", do_goto_byte, "i{Goto byte: }")
+    CMD_( KEY_META('g'), KEY_NONE, "goto-byte", do_goto_byte, "i{Goto byte: }")
     CMD0( KEY_NONE, KEY_NONE, "toggle-hex", do_toggle_hex)
     CMD_DEF_END,
 };
@@ -339,7 +339,8 @@
     qe_register_mode(&hex_mode);
 
     /* commands and default keys */
-    qe_register_cmd_table(hex_commands, NULL);
+    qe_register_cmd_table(hex_commands, "hex");
+    qe_register_cmd_table(hex_commands, "ascii");
 
     /* additionnal mode specific keys */
     qe_register_binding(KEY_CTRL_LEFT, "decrease-width", "ascii|hex");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]