Changes to qemacs/html.c

Charlie Gordon <[email protected]>
Newsgroups gmane.editors.qemacs.devel
Message-ID <[email protected]>
Index: qemacs/html.c
diff -u qemacs/html.c:1.2 qemacs/html.c:1.3
--- qemacs/html.c:1.2	Thu May  5 17:21:54 2005
+++ qemacs/html.c	Mon May  9 09:10:37 2005
@@ -864,9 +864,10 @@
 
 /* specific html commands */
 static CmdDef html_commands[] = {
-    CMD1( '<', KEY_NONE, "html-electric-lt", do_html_electric, '<')
-    CMD1( '>', KEY_NONE, "html-electric-gt", do_html_electric, '>')
-    CMD1( '&', KEY_NONE, "html-electric-amp", do_html_electric, '&')
+    /* should use 'k' intrinsic argument */
+    CMDV( '<', KEY_NONE, "html-electric-lt", do_html_electric, '<', "*v")
+    CMDV( '>', KEY_NONE, "html-electric-gt", do_html_electric, '>', "*v")
+    CMDV( '&', KEY_NONE, "html-electric-amp", do_html_electric, '&', "*v")
     CMD_DEF_END,
 };
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.