diff options
| author | Juanma Barranquero | 2010-02-14 18:28:10 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2010-02-14 18:28:10 +0100 |
| commit | fa5f7c5f63979de761dc3aa6ae232aa4b97b7663 (patch) | |
| tree | 0c8b37a1dff67c268e872e7c06d63abd6209e5e6 | |
| parent | ecbaeb7bf5fd06f67347240a19b054a7a3698708 (diff) | |
| download | emacs-fa5f7c5f63979de761dc3aa6ae232aa4b97b7663.tar.gz emacs-fa5f7c5f63979de761dc3aa6ae232aa4b97b7663.zip | |
Fix typos in docstrings.
* outline.el (outline-head-from-level):
* simple.el (with-wrapper-hook):
* cedet/ede.el (ede-run-target, project-delete-target)
(project-dist-files, ede-name, ede-documentation, ede-parent-project)
(ede-adebug-project, ede-adebug-project-parent)
(ede-adebug-project-root):
* emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
(elint-defun, elint-buffer-env, elint-top-form-logged)
(elint-unbound-variable):
* textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
| -rw-r--r-- | lisp/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/cedet/ede.el | 22 | ||||
| -rw-r--r-- | lisp/emacs-lisp/elint.el | 12 | ||||
| -rw-r--r-- | lisp/outline.el | 2 | ||||
| -rw-r--r-- | lisp/simple.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-toc.el | 4 |
6 files changed, 35 insertions, 21 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2d18bbbaf9e..52ca0354c29 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2010-02-14 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * outline.el (outline-head-from-level): | ||
| 4 | * simple.el (with-wrapper-hook): | ||
| 5 | * cedet/ede.el (ede-run-target, project-delete-target) | ||
| 6 | (project-dist-files, ede-name, ede-documentation, ede-parent-project) | ||
| 7 | (ede-adebug-project, ede-adebug-project-parent) | ||
| 8 | (ede-adebug-project-root): | ||
| 9 | * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer) | ||
| 10 | (elint-defun, elint-buffer-env, elint-top-form-logged) | ||
| 11 | (elint-unbound-variable): | ||
| 12 | * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist): | ||
| 13 | Fix typos in docstrings. | ||
| 14 | |||
| 1 | 2010-02-14 Michael Albinus <michael.albinus@gmx.de> | 15 | 2010-02-14 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 16 | ||
| 3 | * files.el (insert-directory): When WILDCARD-REGEXP and | 17 | * files.el (insert-directory): When WILDCARD-REGEXP and |
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el index f6a15ecaf10..096ed04ea80 100644 --- a/lisp/cedet/ede.el +++ b/lisp/cedet/ede.el | |||
| @@ -1155,7 +1155,7 @@ Optional argument FORCE forces the file to be removed without asking." | |||
| 1155 | (ede-invoke-method 'project-debug-target)) | 1155 | (ede-invoke-method 'project-debug-target)) |
| 1156 | 1156 | ||
| 1157 | (defun ede-run-target () | 1157 | (defun ede-run-target () |
| 1158 | "Debug the current buffer's assocated target." | 1158 | "Run the current buffer's associated target." |
| 1159 | (interactive) | 1159 | (interactive) |
| 1160 | (ede-invoke-method 'project-run-target)) | 1160 | (ede-invoke-method 'project-run-target)) |
| 1161 | 1161 | ||
| @@ -1381,7 +1381,7 @@ Argument FNND is an argument." | |||
| 1381 | (error "New-target-custom not supported by %s" (object-name proj))) | 1381 | (error "New-target-custom not supported by %s" (object-name proj))) |
| 1382 | 1382 | ||
| 1383 | (defmethod project-delete-target ((ot ede-target)) | 1383 | (defmethod project-delete-target ((ot ede-target)) |
| 1384 | "Delete the current target OT from it's parent project." | 1384 | "Delete the current target OT from its parent project." |
| 1385 | (error "add-file not supported by %s" (object-name ot))) | 1385 | (error "add-file not supported by %s" (object-name ot))) |
| 1386 | 1386 | ||
| 1387 | (defmethod project-compile-project ((obj ede-project) &optional command) | 1387 | (defmethod project-compile-project ((obj ede-project) &optional command) |
| @@ -1407,7 +1407,7 @@ Argument COMMAND is the command to use for compiling the target." | |||
| 1407 | (error "Make-dist not supported by %s" (object-name this))) | 1407 | (error "Make-dist not supported by %s" (object-name this))) |
| 1408 | 1408 | ||
| 1409 | (defmethod project-dist-files ((this ede-project)) | 1409 | (defmethod project-dist-files ((this ede-project)) |
| 1410 | "Return a list of files that constitutes a distribution of THIS project." | 1410 | "Return a list of files that constitute a distribution of THIS project." |
| 1411 | (error "Dist-files is not supported by %s" (object-name this))) | 1411 | (error "Dist-files is not supported by %s" (object-name this))) |
| 1412 | 1412 | ||
| 1413 | (defmethod project-rescan ((this ede-project)) | 1413 | (defmethod project-rescan ((this ede-project)) |
| @@ -1421,7 +1421,7 @@ Argument COMMAND is the command to use for compiling the target." | |||
| 1421 | ;; b) cosmetic. | 1421 | ;; b) cosmetic. |
| 1422 | 1422 | ||
| 1423 | (defmethod ede-name ((this ede-target)) | 1423 | (defmethod ede-name ((this ede-target)) |
| 1424 | "Return the name of THIS targt." | 1424 | "Return the name of THIS target." |
| 1425 | (oref this name)) | 1425 | (oref this name)) |
| 1426 | 1426 | ||
| 1427 | (defmethod ede-target-name ((this ede-target)) | 1427 | (defmethod ede-target-name ((this ede-target)) |
| @@ -1510,7 +1510,7 @@ Also do a quick check to see if there is a Documentation tag in this BUFFER." | |||
| 1510 | (ede-buffer-documentation-files cp (current-buffer)))))) | 1510 | (ede-buffer-documentation-files cp (current-buffer)))))) |
| 1511 | 1511 | ||
| 1512 | (defmethod ede-documentation ((this ede-project)) | 1512 | (defmethod ede-documentation ((this ede-project)) |
| 1513 | "Return a list of files that provides documentation. | 1513 | "Return a list of files that provide documentation. |
| 1514 | Documentation is not for object THIS, but is provided by THIS for other | 1514 | Documentation is not for object THIS, but is provided by THIS for other |
| 1515 | files in the project." | 1515 | files in the project." |
| 1516 | (let ((targ (oref this targets)) | 1516 | (let ((targ (oref this targets)) |
| @@ -1525,7 +1525,7 @@ files in the project." | |||
| 1525 | found)) | 1525 | found)) |
| 1526 | 1526 | ||
| 1527 | (defmethod ede-documentation ((this ede-target)) | 1527 | (defmethod ede-documentation ((this ede-target)) |
| 1528 | "Return a list of files that provides documentation. | 1528 | "Return a list of files that provide documentation. |
| 1529 | Documentation is not for object THIS, but is provided by THIS for other | 1529 | Documentation is not for object THIS, but is provided by THIS for other |
| 1530 | files in the project." | 1530 | files in the project." |
| 1531 | nil) | 1531 | nil) |
| @@ -1651,7 +1651,7 @@ Optional ROOTRETURN will return the root project for DIR." | |||
| 1651 | 1651 | ||
| 1652 | (defun ede-parent-project (&optional obj) | 1652 | (defun ede-parent-project (&optional obj) |
| 1653 | "Return the project belonging to the parent directory. | 1653 | "Return the project belonging to the parent directory. |
| 1654 | nil if there is no previous directory. | 1654 | Returns nil if there is no previous directory. |
| 1655 | Optional argument OBJ is an object to find the parent of." | 1655 | Optional argument OBJ is an object to find the parent of." |
| 1656 | (let* ((proj (or obj ede-object-project)) ;; Current project. | 1656 | (let* ((proj (or obj ede-object-project)) ;; Current project. |
| 1657 | (root (if obj (ede-project-root obj) | 1657 | (root (if obj (ede-project-root obj) |
| @@ -1952,7 +1952,7 @@ is the project to use, instead of `ede-current-project'." | |||
| 1952 | ;;; Debugging. | 1952 | ;;; Debugging. |
| 1953 | 1953 | ||
| 1954 | (defun ede-adebug-project () | 1954 | (defun ede-adebug-project () |
| 1955 | "Run adebug against the current ede project. | 1955 | "Run adebug against the current EDE project. |
| 1956 | Display the results as a debug list." | 1956 | Display the results as a debug list." |
| 1957 | (interactive) | 1957 | (interactive) |
| 1958 | (require 'data-debug) | 1958 | (require 'data-debug) |
| @@ -1962,7 +1962,7 @@ Display the results as a debug list." | |||
| 1962 | )) | 1962 | )) |
| 1963 | 1963 | ||
| 1964 | (defun ede-adebug-project-parent () | 1964 | (defun ede-adebug-project-parent () |
| 1965 | "Run adebug against the current ede parent project. | 1965 | "Run adebug against the current EDE parent project. |
| 1966 | Display the results as a debug list." | 1966 | Display the results as a debug list." |
| 1967 | (interactive) | 1967 | (interactive) |
| 1968 | (require 'data-debug) | 1968 | (require 'data-debug) |
| @@ -1972,7 +1972,7 @@ Display the results as a debug list." | |||
| 1972 | )) | 1972 | )) |
| 1973 | 1973 | ||
| 1974 | (defun ede-adebug-project-root () | 1974 | (defun ede-adebug-project-root () |
| 1975 | "Run adebug against the current ede parent project. | 1975 | "Run adebug against the current EDE parent project. |
| 1976 | Display the results as a debug list." | 1976 | Display the results as a debug list." |
| 1977 | (interactive) | 1977 | (interactive) |
| 1978 | (require 'data-debug) | 1978 | (require 'data-debug) |
| @@ -1983,7 +1983,7 @@ Display the results as a debug list." | |||
| 1983 | 1983 | ||
| 1984 | ;;; Hooks & Autoloads | 1984 | ;;; Hooks & Autoloads |
| 1985 | ;; | 1985 | ;; |
| 1986 | ;; These let us watch various activities, and respond apropriatly. | 1986 | ;; These let us watch various activities, and respond appropriately. |
| 1987 | 1987 | ||
| 1988 | ;; (add-hook 'edebug-setup-hook | 1988 | ;; (add-hook 'edebug-setup-hook |
| 1989 | ;; (lambda () | 1989 | ;; (lambda () |
diff --git a/lisp/emacs-lisp/elint.el b/lisp/emacs-lisp/elint.el index de2a05fb46d..6e0758680d5 100644 --- a/lisp/emacs-lisp/elint.el +++ b/lisp/emacs-lisp/elint.el | |||
| @@ -147,7 +147,7 @@ Set by `elint-initialize', if `elint-scan-preloaded' is non-nil.") | |||
| 147 | "Those built-ins for which we can't find arguments, if any.") | 147 | "Those built-ins for which we can't find arguments, if any.") |
| 148 | 148 | ||
| 149 | (defvar elint-extra-errors '(file-locked file-supersession ftp-error) | 149 | (defvar elint-extra-errors '(file-locked file-supersession ftp-error) |
| 150 | "Errors without error-message or error-confitions properties.") | 150 | "Errors without `error-message' or `error-conditions' properties.") |
| 151 | 151 | ||
| 152 | (defconst elint-preloaded-skip-re | 152 | (defconst elint-preloaded-skip-re |
| 153 | (regexp-opt '("loaddefs.el" "loadup.el" "cus-start" "language/" | 153 | (regexp-opt '("loaddefs.el" "loadup.el" "cus-start" "language/" |
| @@ -289,7 +289,7 @@ A complicated directory may require a lot of memory." | |||
| 289 | ;;;###autoload | 289 | ;;;###autoload |
| 290 | (defun elint-current-buffer () | 290 | (defun elint-current-buffer () |
| 291 | "Lint the current buffer. | 291 | "Lint the current buffer. |
| 292 | If necessary, this first calls `elint-initalize'." | 292 | If necessary, this first calls `elint-initialize'." |
| 293 | (interactive) | 293 | (interactive) |
| 294 | (or elint-builtin-variables | 294 | (or elint-builtin-variables |
| 295 | (elint-initialize)) | 295 | (elint-initialize)) |
| @@ -308,7 +308,7 @@ If necessary, this first calls `elint-initalize'." | |||
| 308 | ;;;###autoload | 308 | ;;;###autoload |
| 309 | (defun elint-defun () | 309 | (defun elint-defun () |
| 310 | "Lint the function at point. | 310 | "Lint the function at point. |
| 311 | If necessary, this first calls `elint-initalize'." | 311 | If necessary, this first calls `elint-initialize'." |
| 312 | (interactive) | 312 | (interactive) |
| 313 | (or elint-builtin-variables | 313 | (or elint-builtin-variables |
| 314 | (elint-initialize)) | 314 | (elint-initialize)) |
| @@ -325,7 +325,7 @@ If necessary, this first calls `elint-initalize'." | |||
| 325 | ;;; | 325 | ;;; |
| 326 | 326 | ||
| 327 | (defvar elint-buffer-env nil | 327 | (defvar elint-buffer-env nil |
| 328 | "The environment of a elisp buffer. | 328 | "The environment of an elisp buffer. |
| 329 | Will be local in linted buffers.") | 329 | Will be local in linted buffers.") |
| 330 | 330 | ||
| 331 | (defvar elint-buffer-forms nil | 331 | (defvar elint-buffer-forms nil |
| @@ -528,7 +528,7 @@ Return nil if there are no more forms, t otherwise." | |||
| 528 | "The currently linted top form, or nil.") | 528 | "The currently linted top form, or nil.") |
| 529 | 529 | ||
| 530 | (defvar elint-top-form-logged nil | 530 | (defvar elint-top-form-logged nil |
| 531 | "T if the currently linted top form has been mentioned in the log buffer.") | 531 | "The value t if the currently linted top form has been mentioned in the log buffer.") |
| 532 | 532 | ||
| 533 | (defun elint-top-form (form) | 533 | (defun elint-top-form (form) |
| 534 | "Lint a top FORM." | 534 | "Lint a top FORM." |
| @@ -640,7 +640,7 @@ Returns the environment created by the form." | |||
| 640 | "Name of a temporarily bound symbol.") | 640 | "Name of a temporarily bound symbol.") |
| 641 | 641 | ||
| 642 | (defun elint-unbound-variable (var env) | 642 | (defun elint-unbound-variable (var env) |
| 643 | "T if VAR is unbound in ENV." | 643 | "Return t if VAR is unbound in ENV." |
| 644 | ;; #1063 suggests adding (symbol-file var) here, but I don't think | 644 | ;; #1063 suggests adding (symbol-file var) here, but I don't think |
| 645 | ;; this is right, because it depends on what files you happen to have | 645 | ;; this is right, because it depends on what files you happen to have |
| 646 | ;; loaded at the time, which might not be the same when the code runs. | 646 | ;; loaded at the time, which might not be the same when the code runs. |
diff --git a/lisp/outline.el b/lisp/outline.el index 5def0ea47fb..b5d3d798714 100644 --- a/lisp/outline.el +++ b/lisp/outline.el | |||
| @@ -595,7 +595,7 @@ If there are no such entries, return nil. | |||
| 595 | ALIST defaults to `outline-heading-alist'. | 595 | ALIST defaults to `outline-heading-alist'. |
| 596 | Similar to (car (rassoc LEVEL ALIST)). | 596 | Similar to (car (rassoc LEVEL ALIST)). |
| 597 | If there are several different entries with same new level, choose | 597 | If there are several different entries with same new level, choose |
| 598 | the one with the smallest distance to the assocation of HEAD in the alist. | 598 | the one with the smallest distance to the association of HEAD in the alist. |
| 599 | This makes it possible for promotion to work in modes with several | 599 | This makes it possible for promotion to work in modes with several |
| 600 | independent sets of headings (numbered, unnumbered, appendix...)" | 600 | independent sets of headings (numbered, unnumbered, appendix...)" |
| 601 | (unless alist (setq alist outline-heading-alist)) | 601 | (unless alist (setq alist outline-heading-alist)) |
diff --git a/lisp/simple.el b/lisp/simple.el index b16794f2770..4e9ffdc9740 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -6552,7 +6552,7 @@ VAR is normally a symbol (a variable) in which case it is treated like | |||
| 6552 | a hook, with a buffer-local and a global part. But it can also be an | 6552 | a hook, with a buffer-local and a global part. But it can also be an |
| 6553 | arbitrary expression. | 6553 | arbitrary expression. |
| 6554 | ARGS is a list of variables which will be passed as additional arguments | 6554 | ARGS is a list of variables which will be passed as additional arguments |
| 6555 | to each function, after the inital argument, and which the first argument | 6555 | to each function, after the initial argument, and which the first argument |
| 6556 | expects to receive when called." | 6556 | expects to receive when called." |
| 6557 | (declare (indent 2) (debug t)) | 6557 | (declare (indent 2) (debug t)) |
| 6558 | ;; We need those two gensyms because CL's lexical scoping is not available | 6558 | ;; We need those two gensyms because CL's lexical scoping is not available |
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 34e6283fe47..1066066462d 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el | |||
| @@ -723,8 +723,8 @@ DELTA and PRO-OR-DE are assumed to be dynamically scoped into this function." | |||
| 723 | (defun reftex-toc-newhead-from-alist (nlevel head alist) | 723 | (defun reftex-toc-newhead-from-alist (nlevel head alist) |
| 724 | "Get new heading with level NLEVEL from ALIST. | 724 | "Get new heading with level NLEVEL from ALIST. |
| 725 | If there are no such entries, return nil. | 725 | If there are no such entries, return nil. |
| 726 | If there are several different entries with same new level, choose | 726 | If there are several different entries with same new level, choose the |
| 727 | the one with the smallest distance to the assocation of HEAD in the alist. | 727 | one with the smallest distance to the association of HEAD in the alist. |
| 728 | This makes it possible for promotion to work several sets of headings, | 728 | This makes it possible for promotion to work several sets of headings, |
| 729 | if these sets are sorted blocks in the alist." | 729 | if these sets are sorted blocks in the alist." |
| 730 | (let* ((al alist) | 730 | (let* ((al alist) |