emacs-devel
[Top][All Lists]
Advanced

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

Unterminated comment in keymap.c


From: Juanma Barranquero
Subject: Unterminated comment in keymap.c
Date: Wed, 07 Nov 2001 09:37:13 +0100

I suppose after:

Index: keymap.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/keymap.c,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -r1.243 -r1.244
--- keymap.c    2001/11/02 20:29:41     1.243
+++ keymap.c    2001/11/07 03:35:05     1.244
@@ -476,8 +476,11 @@
      int noinherit;
      int autoload;
 {
-  Lisp_Object val = Qunbound;
+  Lisp_Object val;
 
+  /* Qunbound in VAL means we have found no binding yet.  */
+  val = Qunbound;
+
   /* If idx is a list (some sort of mouse click, perhaps?),
      the index we want to use is the car of the list, which
      ought to be a symbol.  */
@@ -516,7 +519,13 @@
 
   {
     Lisp_Object tail;
-    Lisp_Object t_binding = Qnil;
+
+    /* t_binding is where we put a default binding that applies,
+       to use in case we do not find a binding specifically
+       for this key sequence.
+
+    Lisp_Object t_binding;
+    t_binding = Qnil;
 
     /* If `t_ok' is 2, both `t' and generic-char bindings are accepted.
        If it is 1, only generic-char bindings are accepted.


the following patch is needed?

Index: keymap.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/keymap.c,v
retrieving revision 1.244
diff -u -r1.244 keymap.c
--- keymap.c    2001/11/07 03:35:05     1.244
+++ keymap.c    2001/11/07 08:35:03
@@ -522,7 +522,7 @@
 
     /* t_binding is where we put a default binding that applies,
        to use in case we do not find a binding specifically
-       for this key sequence.
+       for this key sequence. */
 
     Lisp_Object t_binding;
     t_binding = Qnil;




reply via email to

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