Skip to content

Commit

Permalink
A few docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeleuze committed Aug 16, 2022
1 parent 03abce9 commit b88891f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion calfw-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ TEXT1 < TEXT2. This function makes no-time items in front of timed-items."
))

(defun cfw:org-read-date-command ()
"Move the cursor to the specified date."
"Read a date and return it as a calendar date value."
(interactive)
(cfw:emacs-to-calendar (org-read-date nil 'to-time)))

Expand Down
6 changes: 3 additions & 3 deletions calfw.el
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ ones of DATE2. Otherwise is `nil'."
ret))))

(defun cfw:parse-str-time (str)
"Parsese a time string of the format HH:MM to an internal format."
"Parse a time string of the format HH:MM to an internal format."
(when (string-match "\\([[:digit:]]\\{2\\}\\):\\([[:digit:]]\\{2\\}\\)" str)
(cfw:time (string-to-number (match-string 1 str))
(string-to-number (match-string 2 str)))))
Expand All @@ -473,7 +473,7 @@ ones of DATE2. Otherwise is `nil'."
(cfw:emacs-to-calendar (cfw:parsetime-emacs str)))

(defun cfw:read-date-command-simple (string-date)
"Move the cursor to the specified date."
"Read a date and return it as a calendar date value."
(interactive "sInput Date (YYYY/MM/DD): ")
(cfw:parsetime string-date))

Expand Down Expand Up @@ -582,7 +582,7 @@ white (negative color of `cfw:source-period-bgcolor') is used."
end-date ; end date of the event [cfw:date] (optional)
end-time ; end of the event (optional)
description ; event description [string] (optional)
location ; location [strting] (optional)
location ; location [string] (optional)
source ; [internal] source of the event
)

Expand Down

0 comments on commit b88891f

Please sign in to comment.