[Top][All Lists]

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

Re: title-case function

From: Paul W. Rankin
Subject: Re: title-case function
Date: Sun, 21 Apr 2019 16:45:16 +1000
User-agent: mu4e 1.0; emacs 26.2

On Sun, Apr 21 2019, Eli Zaretskii wrote:
Doesn't upcase-initials do that already?

English has conventions for keeping "minor words" in titles as lowercase (which I understand is different to European language).

(upcase-initials "an introduction to programming in emacs lisp")
=> "An Introduction To Programming In Emacs Lisp"

"an introduction to programming in emacs lisp"
=> "An Introduction to Programming in Emacs Lisp"


reply via email to

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