Commit 5dd6606e authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(textget): Ignore category prop if not a symbol.

parent 0d55a560
...@@ -1558,7 +1558,11 @@ textget (plist, prop) ...@@ -1558,7 +1558,11 @@ textget (plist, prop)
if (EQ (prop, tem)) if (EQ (prop, tem))
return Fcar (Fcdr (tail)); return Fcar (Fcdr (tail));
if (EQ (tem, Qcategory)) if (EQ (tem, Qcategory))
fallback = Fget (Fcar (Fcdr (tail)), prop); {
tem = Fcar (Fcdr (tail));
if (SYMBOLP (tem))
fallback = Fget (tem, prop);
} }
return fallback; return fallback;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment