diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-05-21 10:04:45 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-05-21 10:06:44 -0700 |
commit | 96794d2f97cd064e4c2bf4f71459b42558cc8c79 (patch) | |
tree | ae2d3836af726636586f4ed21dbdfcb079715777 /lisp/calendar | |
parent | fc071bf7c6a300f52142b92cf99c5a0e63b3e235 (diff) | |
download | emacs-96794d2f97cd064e4c2bf4f71459b42558cc8c79.tar.gz |
Don't quote nil and t in doc strings
This is as per "Tips for Documentation Strings" in the elisp manual.
For consistency, do the same in diagnostics and comments.
Diffstat (limited to 'lisp/calendar')
-rw-r--r-- | lisp/calendar/diary-lib.el | 12 | ||||
-rw-r--r-- | lisp/calendar/todo-mode.el | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 29364b55b6c..d5bd26a9277 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el @@ -104,9 +104,9 @@ are: `string', `symbol', `int', `tnil', `stringtnil.'" (choice (const string :tag "A string") (const symbol :tag "A symbol") (const int :tag "An integer") - (const tnil :tag "`t' or `nil'") + (const tnil :tag "t or nil") (const stringtnil - :tag "A string, `t', or `nil'")))) + :tag "A string, t, or nil")))) :group 'diary) (defcustom diary-glob-file-regexp-prefix "^\\#" @@ -1671,7 +1671,7 @@ DAY MONTH YEAR in the European style). %%(diary-date MONTH DAY YEAR &optional MARK) text Entry applies if date is MONTH, DAY, YEAR. DAY, MONTH, and YEAR can - be a list of integers, `t' (meaning all values), or an integer. + be a list of integers, t (meaning all values), or an integer. %%(diary-float MONTH DAYNAME N &optional DAY MARK) text Entry will appear on the Nth DAYNAME after/before MONTH DAY. @@ -1679,7 +1679,7 @@ DAY MONTH YEAR in the European style). If N>0, use the Nth DAYNAME after MONTH DAY. If N<0, use the Nth DAYNAME before MONTH DAY. DAY defaults to 1 if N>0, and MONTH's last day otherwise. - MONTH can be a list of months, a single month, or `t' to + MONTH can be a list of months, a single month, or t to specify all months. %%(diary-block M1 D1 Y1 M2 D2 Y2 &optional MARK) text @@ -1814,7 +1814,7 @@ form used internally by the calendar and diary." (defun diary-date (month day year &optional mark) "Specific date(s) diary entry. Entry applies if date is MONTH, DAY, YEAR. Each parameter can be a -list of integers, `t' (meaning all values), or an integer. The order +list of integers, t (meaning all values), or an integer. The order of the input parameters changes according to `calendar-date-style' \(e.g. to DAY MONTH YEAR in the European style). @@ -1863,7 +1863,7 @@ DAYNAME=0 means Sunday, DAYNAME=1 means Monday, and so on. If N>0, use the Nth DAYNAME after MONTH DAY. If N<0, use the Nth DAYNAME before MONTH DAY. DAY defaults to 1 if N>0, and MONTH's last day otherwise. -MONTH can be a list of months, an integer, or `t' (meaning all months). +MONTH can be a list of months, an integer, or t (meaning all months). Optional MARK specifies a face or single-character string to use when highlighting the day in the calendar." ;; This is messy because the diary entry may apply, but the date on which it diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index bb9316c81d7..7369ec28c29 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el @@ -5443,7 +5443,7 @@ dynamically create item insertion commands.") The list consists of item insertion parameters that can be passed as insertion command arguments in fixed positions. If a position in the list is not occupied by the corresponding parameter, it is -occupied by `nil'." +occupied by nil." (let* ((arg (list (car todo-insert-item--args))) (args (nconc (cdr todo-insert-item--args) (list (car (todo-insert-item--argsleft |