* progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
[bpt/emacs.git] / lisp / play / studly.el
index 7adbcfa..d28304d 100644 (file)
@@ -1,25 +1,24 @@
 ;;; studly.el --- StudlyCaps (tm)(r)(c)(xxx)
 
-;; Copyright (C) 1992 Free Software Foundation, Inc.
+;;; This is in the public domain, since it was distributed
+;;; by its author in 1986 without a copyright notice.
 
 ;; This file is part of GNU Emacs.
 
-;; GNU Emacs is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 1, or (at your option)
-;; any later version.
+;; Maintainer: FSF
+;; Keywords: games
 
-;; GNU Emacs is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-;; GNU General Public License for more details.
+;;; Commentary:
 
-;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING.  If not, write to
-;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+;; Functions to studlycapsify a region, word, or buffer.  Possibly the
+;; esoteric significance of studlycapsification escapes you; that is,
+;; you suffer from autostudlycapsifibogotification.  Too bad.
 
+;;; Code:
+
+;;;###autoload
 (defun studlify-region (begin end)
-  "Studlify-case the region"
+  "Studlify-case the region."
   (interactive "*r")
   (save-excursion
     (goto-char begin)
@@ -51,8 +50,9 @@
          (forward-char 1))
        (setq begin (point))))))
 
+;;;###autoload
 (defun studlify-word (count)
-  "Studlify-case the current word, or COUNT words if given an argument"
+  "Studlify-case the current word, or COUNT words if given an argument."
   (interactive "*p")
   (let ((begin (point)) end rb re)
     (forward-word count)
     (setq rb (min begin end) re (max begin end))
     (studlify-region rb re)))
 
+;;;###autoload
 (defun studlify-buffer ()
-  "Studlify-case the current buffer"
+  "Studlify-case the current buffer."
   (interactive "*")
   (studlify-region (point-min) (point-max)))
 
+(provide 'studly)
+
 ;;; studly.el ends here