Commit 0f283021 authored by David Byers's avatar David Byers
Browse files

Mostly documentation updates.

Detailed changes:
> 2003-01-12  David Byers  <david.byers@swipnet.se>
>
> 	* vars.el.in: More documentation updates.
>
> 	* lyskom-rest.el (lyskom-beep): List arguments were not handled
> 	correctly (the default key, t, was not used).
>
> 2003-01-11  David Byers  <david.byers@swipnet.se>
>
> 	* vars.el.in: Documented some more variables. Variables that have
> 	been documented properly have "**" at the start of the docstring.
>
parent d2e58b01
2003-01-12 David Byers <david.byers@swipnet.se>
* vars.el.in: More documentation updates.
* lyskom-rest.el (lyskom-beep): List arguments were not handled
correctly (the default key, t, was not used).
2003-01-11 David Byers <david.byers@swipnet.se>
* vars.el.in: Documented some more variables. Variables that have
been documented properly have "**" at the start of the docstring.
2003-01-09 David Byers <david.byers@swipnet.se>
* vars.el.in: Started working on variable documentation.
......
......@@ -34,6 +34,26 @@
;;; TO DO
;;;
;;; Variable documentation requires considerably more flexibility
;;; than command documentation:
;;;
;;; * Generate segmentedlist elements. Look for two-column
;;; indented parts in the documentation.
;;;
;;; * Highlight code (e.g. `t', `nil', `other' usw. Handle
;;; references to elisp functions and elisp variables.
;;;
;;; * Format examples. I don't think we can do this consistently
;;; without any markup. MAybe by looking for indented blocks
;;; where some line in a block does not match a segmentedlist
;;; format.
;;;
;;; In variables, warn for undocumented (no **) def-kom-vared
;;; variables that start with kom-
;;;
;;; Generate DTD fragments so we can use entities for command and
;;; variable references (e.g. &fn:kom-mark-text;) in XML.
;;;
;;; Read templates from a file, so we don't hard-code the
;;; format here.
;;;
......
......@@ -2519,7 +2519,9 @@ A list of pairs means OPTARG will be used as a key to look up the real
((and (listp arg)
(or (assq optarg arg)
(assq t arg)))
(lyskom-beep (cdr (assq optarg arg)) optarg))
(lyskom-beep (cdr (or (assq optarg arg)
(assq t arg)))
optarg))
(t (beep))))
(defun lyskom-face-default-p (f1)
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment