]> code.delx.au - gnu-emacs/blobdiff - lisp/org/org-irc.el
Update copyright year to 2015
[gnu-emacs] / lisp / org / org-irc.el
index d31b1828ddd2dcab41c63de22a04330dda819934..62f3d9596c56fac1ec98c3f02b18a40d9f8ea7a9 100644 (file)
@@ -1,6 +1,6 @@
 ;;; org-irc.el --- Store links to IRC sessions
 ;;
-;; Copyright (C) 2008-2012 Free Software Foundation, Inc.
+;; Copyright (C) 2008-2015 Free Software Foundation, Inc.
 ;;
 ;; Author: Philip Jackson <emacs@shellarchive.co.uk>
 ;; Keywords: erc, irc, link, org
@@ -105,7 +105,7 @@ attributes that are found."
    ((eq major-mode 'erc-mode)
     (org-irc-erc-store-link))))
 
-(defun org-irc-elipsify-description (string &optional after)
+(defun org-irc-ellipsify-description (string &optional after)
   "Remove unnecessary white space from STRING and add ellipses if necessary.
 Strip starting and ending white space from STRING and replace any
 chars that the value AFTER with '...'"
@@ -158,7 +158,7 @@ the session itself."
            (progn
              (org-store-link-props
               :type "file"
-              :description (concat "'" (org-irc-elipsify-description
+              :description (concat "'" (org-irc-ellipsify-description
                                         (cadr parsed-line) 20)
                                    "' from an IRC conversation")
               :link (concat "file:" (car parsed-line) "::"