Commit 4d6cebd8 authored by Jim Blandy's avatar Jim Blandy

*** empty log message ***

parent 98bf0c8d
......@@ -308,10 +308,16 @@ Returns t if expansion took place.")
else if (uccount)
{
/* Abbrev included some caps. Cap first initial of expansion */
idx = point;
int old_zv = ZV;
int old_pt = point;
/* Don't let Fcapitalize_word operate on text after point. */
ZV = point;
SET_PT (wordstart);
Fcapitalize_word (make_number (1));
SET_PT (idx);
SET_PT (old_pt);
ZV = old_zv;
}
hook = XSYMBOL (sym)->function;
......
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