Permalink
Browse files

added headers and autoload comments for submission to ELPA

  • Loading branch information...
1 parent 8e6bdd1 commit 93979037e75fba8d53eb56f2e526ac9d154bbf1b @eschulte committed Jan 14, 2009
Showing with 9 additions and 6 deletions.
  1. +9 −6 inflections.el
View
@@ -1,13 +1,14 @@
-;;; inflections.el ---
+;;; inflections.el --- convert english words between singular and plural
;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
-;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>,
-;; Howard Yeh <hayeah at gmail dot com>
-
+;; Authors: Dmitry Galinsky, Howard Yeh
+;; URL: http://emacs-rails.rubyforge.org/svn/trunk/inflections.el
+;; Version: 1.0
+;; Created: 2007-11-02
;; Keywords: ruby rails languages oop
-;; $URL: http://emacs-rails.rubyforge.org/svn/trunk/inflections.el $
-;; $Id: inflections.el 216 2007-11-02 20:48:22Z dimaexe $
+
+;; This file is NOT part of GNU Emacs.
;;; License
@@ -126,6 +127,7 @@
(:uncountable "equipment" "information" "rice" "money" "species" "series" "fish" "sheep" "news"))
+;;;###autoload
(defun singularize-string (str)
(when (stringp str)
(or (car (member str inflection-uncountables))
@@ -135,6 +137,7 @@
when singular do (return singular))
str)))
+;;;###autoload
(defun pluralize-string (str)
(when (stringp str)
(or (car (member str inflection-uncountables))

0 comments on commit 9397903

Please sign in to comment.