diff options
| author | Juanma Barranquero | 2007-06-04 01:36:30 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-06-04 01:36:30 +0000 |
| commit | f441be5b5975de9195c9d5d1e826bf4eb4db6d3c (patch) | |
| tree | 714e2432dd49c75b1e1d1bea5beb1662e3cb64ae | |
| parent | b1b15f7667ca725211dcb73fa6b169c470fc7a88 (diff) | |
| download | emacs-f441be5b5975de9195c9d5d1e826bf4eb4db6d3c.tar.gz emacs-f441be5b5975de9195c9d5d1e826bf4eb4db6d3c.zip | |
(compilation-find-file, compilation-handle-exit): Fix typos in docstrings.
(compilation-search-path, compilation-buffer-name-function): Doc fixes.
(compilation-finish-function): Fix typo in obsolescence declaration.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 14 |
2 files changed, 14 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 89311b6a579..9784429922b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2007-06-04 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * progmodes/compile.el (compilation-find-file, compilation-handle-exit): | ||
| 4 | Fix typos in docstrings. | ||
| 5 | (compilation-search-path, compilation-buffer-name-function): Doc fixes. | ||
| 6 | (compilation-finish-function): Fix typo in obsolescence declaration. | ||
| 7 | |||
| 1 | 2007-06-03 Sam Steingold <sds@gnu.org> | 8 | 2007-06-03 Sam Steingold <sds@gnu.org> |
| 2 | 9 | ||
| 3 | Add TIMESTAMP to LOC to handle "incremental compilation", e.g., | 10 | Add TIMESTAMP to LOC to handle "incremental compilation", e.g., |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index b3a7da069d2..a9f5f77c126 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -120,7 +120,7 @@ bound to the compilation buffer and window, respectively.") | |||
| 120 | "Function to compute the name of a compilation buffer. | 120 | "Function to compute the name of a compilation buffer. |
| 121 | The function receives one argument, the name of the major mode of the | 121 | The function receives one argument, the name of the major mode of the |
| 122 | compilation buffer. It should return a string. | 122 | compilation buffer. It should return a string. |
| 123 | nil means compute the name with `(concat \"*\" (downcase major-mode) \"*\")'.") | 123 | If nil, compute the name with `(concat \"*\" (downcase major-mode) \"*\")'.") |
| 124 | 124 | ||
| 125 | ;;;###autoload | 125 | ;;;###autoload |
| 126 | (defvar compilation-finish-function nil | 126 | (defvar compilation-finish-function nil |
| @@ -129,7 +129,7 @@ It is called with two arguments: the compilation buffer, and a string | |||
| 129 | describing how the process finished.") | 129 | describing how the process finished.") |
| 130 | 130 | ||
| 131 | (make-obsolete-variable 'compilation-finish-function | 131 | (make-obsolete-variable 'compilation-finish-function |
| 132 | "Use `compilation-finish-functions', but it works a little differently." | 132 | "use `compilation-finish-functions', but it works a little differently." |
| 133 | "22.1") | 133 | "22.1") |
| 134 | 134 | ||
| 135 | ;;;###autoload | 135 | ;;;###autoload |
| @@ -469,7 +469,7 @@ Otherwise, it saves all modified buffers without asking." | |||
| 469 | (defcustom compilation-search-path '(nil) | 469 | (defcustom compilation-search-path '(nil) |
| 470 | "*List of directories to search for source files named in error messages. | 470 | "*List of directories to search for source files named in error messages. |
| 471 | Elements should be directory names, not file names of directories. | 471 | Elements should be directory names, not file names of directories. |
| 472 | nil as an element means to try the default directory." | 472 | The value nil as an element means to try the default directory." |
| 473 | :type '(repeat (choice (const :tag "Default" nil) | 473 | :type '(repeat (choice (const :tag "Default" nil) |
| 474 | (string :tag "Directory"))) | 474 | (string :tag "Directory"))) |
| 475 | :group 'compilation) | 475 | :group 'compilation) |
| @@ -1422,7 +1422,7 @@ Turning the mode on runs the normal hook `compilation-minor-mode-hook'." | |||
| 1422 | (font-lock-fontify-buffer))) | 1422 | (font-lock-fontify-buffer))) |
| 1423 | 1423 | ||
| 1424 | (defun compilation-handle-exit (process-status exit-status msg) | 1424 | (defun compilation-handle-exit (process-status exit-status msg) |
| 1425 | "Write MSG in the current buffer and hack its mode-line-process." | 1425 | "Write MSG in the current buffer and hack its `mode-line-process'." |
| 1426 | (let ((inhibit-read-only t) | 1426 | (let ((inhibit-read-only t) |
| 1427 | (status (if compilation-exit-message-function | 1427 | (status (if compilation-exit-message-function |
| 1428 | (funcall compilation-exit-message-function | 1428 | (funcall compilation-exit-message-function |
| @@ -1836,8 +1836,8 @@ and overlay is highlighted between MK and END-MK." | |||
| 1836 | Search the directories in `compilation-search-path'. | 1836 | Search the directories in `compilation-search-path'. |
| 1837 | A nil in `compilation-search-path' means to try the | 1837 | A nil in `compilation-search-path' means to try the |
| 1838 | \"current\" directory, which is passed in DIRECTORY. | 1838 | \"current\" directory, which is passed in DIRECTORY. |
| 1839 | If DIRECTORY. is relative, it is combined with `default-directory'. | 1839 | If DIRECTORY is relative, it is combined with `default-directory'. |
| 1840 | If DIRECTORY. is nil, that means use `default-directory'. | 1840 | If DIRECTORY is nil, that means use `default-directory'. |
| 1841 | If FILENAME is not found at all, ask the user where to find it. | 1841 | If FILENAME is not found at all, ask the user where to find it. |
| 1842 | Pop up the buffer containing MARKER and scroll to MARKER if we ask the user." | 1842 | Pop up the buffer containing MARKER and scroll to MARKER if we ask the user." |
| 1843 | (or formats (setq formats '("%s"))) | 1843 | (or formats (setq formats '("%s"))) |
| @@ -1878,7 +1878,7 @@ Pop up the buffer containing MARKER and scroll to MARKER if we ask the user." | |||
| 1878 | ;; restrictive otherwise, since it also prevents the | 1878 | ;; restrictive otherwise, since it also prevents the |
| 1879 | ;; user from completing "fo" to "foo/" when she | 1879 | ;; user from completing "fo" to "foo/" when she |
| 1880 | ;; wants to enter "foo/bar". | 1880 | ;; wants to enter "foo/bar". |
| 1881 | ;; | 1881 | ;; |
| 1882 | ;; Try to make sure the user can only select | 1882 | ;; Try to make sure the user can only select |
| 1883 | ;; a valid answer. This predicate may be ignored, | 1883 | ;; a valid answer. This predicate may be ignored, |
| 1884 | ;; tho, so we still have to double-check afterwards. | 1884 | ;; tho, so we still have to double-check afterwards. |