diff options
Diffstat (limited to 'lisp/org')
-rw-r--r-- | lisp/org/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/org/org-protocol.el | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index 03e52fee5a2..c1eff5a0d25 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog @@ -1,3 +1,8 @@ +2010-01-14 Juanma Barranquero <lekktu@gmail.com> + + * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten): + Fix typos in docstrings. + 2010-01-01 Juanma Barranquero <lekktu@gmail.com> * org.el (org-get-outline-path, org-speed-command-help): diff --git a/lisp/org/org-protocol.el b/lisp/org/org-protocol.el index f0c0e302282..59f08f1dfa2 100644 --- a/lisp/org/org-protocol.el +++ b/lisp/org/org-protocol.el @@ -355,9 +355,9 @@ encodeURIComponent. E.g. `%C3%B6' is the german Umlaut `ΓΌ'." ret )) (defun org-protocol-flatten-greedy (param-list &optional strip-path replacement) - "Greedy handlers might recieve a list like this from emacsclient: + "Greedy handlers might receive a list like this from emacsclient: '( (\"/dir/org-protocol:/greedy:/~/path1\" (23 . 12)) (\"/dir/param\") -where \"/dir/\" is the absolute path to emacsclients working directory. This +where \"/dir/\" is the absolute path to emacsclients working directory. This function transforms it into a flat list utilizing `org-protocol-flatten' and transforms the elements of that list as follows: @@ -400,10 +400,10 @@ returned list." (defun org-protocol-flatten (l) - "Greedy handlers might recieve a list like this from emacsclient: + "Greedy handlers might receive a list like this from emacsclient: '( (\"/dir/org-protocol:/greedy:/~/path1\" (23 . 12)) (\"/dir/param\") -where \"/dir/\" is the absolute path to emacsclients working directory. This -function transforms it into a flat list." +where \"/dir/\" is the absolute path to emacsclients working directory. +This function transforms it into a flat list." (if (null l) () (if (listp l) (append (org-protocol-flatten (car l)) (org-protocol-flatten (cdr l))) |