aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/casefiddle.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/casefiddle.c b/src/casefiddle.c
index 6c64d6786d4..59b5bbcf43e 100644
--- a/src/casefiddle.c
+++ b/src/casefiddle.c
@@ -397,6 +397,7 @@ casify_word (enum case_action flag, Lisp_Object arg)
397 casify_region (flag, beg, end); 397 casify_region (flag, beg, end);
398 398
399 SET_PT (newpoint); 399 SET_PT (newpoint);
400 return Qnil;
400} 401}
401 402
402DEFUN ("upcase-word", Fupcase_word, Supcase_word, 1, 1, "p", 403DEFUN ("upcase-word", Fupcase_word, Supcase_word, 1, 1, "p",
@@ -409,8 +410,7 @@ With negative argument, convert previous words but do not move.
409See also `capitalize-word'. */) 410See also `capitalize-word'. */)
410 (Lisp_Object arg) 411 (Lisp_Object arg)
411{ 412{
412 casify_word (CASE_UP, arg); 413 return casify_word (CASE_UP, arg);
413 return Qnil;
414} 414}
415 415
416DEFUN ("downcase-word", Fdowncase_word, Sdowncase_word, 1, 1, "p", 416DEFUN ("downcase-word", Fdowncase_word, Sdowncase_word, 1, 1, "p",
@@ -422,8 +422,7 @@ is ignored when moving forward.
422With negative argument, convert previous words but do not move. */) 422With negative argument, convert previous words but do not move. */)
423 (Lisp_Object arg) 423 (Lisp_Object arg)
424{ 424{
425 casify_word (CASE_DOWN, arg); 425 return casify_word (CASE_DOWN, arg);
426 return Qnil;
427} 426}
428 427
429DEFUN ("capitalize-word", Fcapitalize_word, Scapitalize_word, 1, 1, "p", 428DEFUN ("capitalize-word", Fcapitalize_word, Scapitalize_word, 1, 1, "p",
@@ -438,8 +437,7 @@ is ignored when moving forward.
438With negative argument, capitalize previous words but do not move. */) 437With negative argument, capitalize previous words but do not move. */)
439 (Lisp_Object arg) 438 (Lisp_Object arg)
440{ 439{
441 casify_word (CASE_CAPITALIZE, arg); 440 return casify_word (CASE_CAPITALIZE, arg);
442 return Qnil;
443} 441}
444 442
445void 443void