Function: bib-capitalize-title

bib-capitalize-title is a byte-compiled function defined in bib-mode.el.gz.

Signature

(bib-capitalize-title S)

Documentation

Like capitalize, but don't capitalize stop words, except the first.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/bib-mode.el.gz
(defun bib-capitalize-title (s)
   "Like `capitalize', but don't capitalize stop words, except the first."
   (with-current-buffer (get-buffer-create "$$$Scratch$$$")
     (erase-buffer)
     (insert s)
     (bib-capitalize-title-region (point-min) (point-max))
     (buffer-string)))