diff options
| author | Juanma Barranquero | 2007-06-04 22:53:06 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-06-04 22:53:06 +0000 |
| commit | 071d2f097ccce13caf0facb39a90868322a1330f (patch) | |
| tree | dddd5ca4a0111c571eab0a45f880f3ddc6275234 | |
| parent | 9605302019b7b4235c82246c62c9444fe368d8ae (diff) | |
| download | emacs-071d2f097ccce13caf0facb39a90868322a1330f.tar.gz emacs-071d2f097ccce13caf0facb39a90868322a1330f.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/progmodes/compile.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 9a630ace9aa..651bcddc8ab 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -117,7 +117,7 @@ bound to the compilation buffer and window, respectively.") | |||
| 117 | "Function to compute the name of a compilation buffer. | 117 | "Function to compute the name of a compilation buffer. |
| 118 | The function receives one argument, the name of the major mode of the | 118 | The function receives one argument, the name of the major mode of the |
| 119 | compilation buffer. It should return a string. | 119 | compilation buffer. It should return a string. |
| 120 | nil means compute the name with `(concat \"*\" (downcase major-mode) \"*\")'.") | 120 | If nil, compute the name with `(concat \"*\" (downcase major-mode) \"*\")'.") |
| 121 | 121 | ||
| 122 | ;;;###autoload | 122 | ;;;###autoload |
| 123 | (defvar compilation-finish-function nil | 123 | (defvar compilation-finish-function nil |
| @@ -126,7 +126,7 @@ It is called with two arguments: the compilation buffer, and a string | |||
| 126 | describing how the process finished.") | 126 | describing how the process finished.") |
| 127 | 127 | ||
| 128 | (make-obsolete-variable 'compilation-finish-function | 128 | (make-obsolete-variable 'compilation-finish-function |
| 129 | "Use `compilation-finish-functions', but it works a little differently." | 129 | "use `compilation-finish-functions', but it works a little differently." |
| 130 | "22.1") | 130 | "22.1") |
| 131 | 131 | ||
| 132 | ;;;###autoload | 132 | ;;;###autoload |
| @@ -466,7 +466,7 @@ Otherwise, it saves all modified buffers without asking." | |||
| 466 | (defcustom compilation-search-path '(nil) | 466 | (defcustom compilation-search-path '(nil) |
| 467 | "*List of directories to search for source files named in error messages. | 467 | "*List of directories to search for source files named in error messages. |
| 468 | Elements should be directory names, not file names of directories. | 468 | Elements should be directory names, not file names of directories. |
| 469 | nil as an element means to try the default directory." | 469 | The value nil as an element means to try the default directory." |
| 470 | :type '(repeat (choice (const :tag "Default" nil) | 470 | :type '(repeat (choice (const :tag "Default" nil) |
| 471 | (string :tag "Directory"))) | 471 | (string :tag "Directory"))) |
| 472 | :group 'compilation) | 472 | :group 'compilation) |
| @@ -1419,7 +1419,7 @@ Turning the mode on runs the normal hook `compilation-minor-mode-hook'." | |||
| 1419 | (font-lock-fontify-buffer))) | 1419 | (font-lock-fontify-buffer))) |
| 1420 | 1420 | ||
| 1421 | (defun compilation-handle-exit (process-status exit-status msg) | 1421 | (defun compilation-handle-exit (process-status exit-status msg) |
| 1422 | "Write MSG in the current buffer and hack its mode-line-process." | 1422 | "Write MSG in the current buffer and hack its `mode-line-process'." |
| 1423 | (let ((inhibit-read-only t) | 1423 | (let ((inhibit-read-only t) |
| 1424 | (status (if compilation-exit-message-function | 1424 | (status (if compilation-exit-message-function |
| 1425 | (funcall compilation-exit-message-function | 1425 | (funcall compilation-exit-message-function |
| @@ -1825,8 +1825,8 @@ and overlay is highlighted between MK and END-MK." | |||
| 1825 | Search the directories in `compilation-search-path'. | 1825 | Search the directories in `compilation-search-path'. |
| 1826 | A nil in `compilation-search-path' means to try the | 1826 | A nil in `compilation-search-path' means to try the |
| 1827 | \"current\" directory, which is passed in DIRECTORY. | 1827 | \"current\" directory, which is passed in DIRECTORY. |
| 1828 | If DIRECTORY. is relative, it is combined with `default-directory'. | 1828 | If DIRECTORY is relative, it is combined with `default-directory'. |
| 1829 | If DIRECTORY. is nil, that means use `default-directory'. | 1829 | If DIRECTORY is nil, that means use `default-directory'. |
| 1830 | If FILENAME is not found at all, ask the user where to find it. | 1830 | If FILENAME is not found at all, ask the user where to find it. |
| 1831 | Pop up the buffer containing MARKER and scroll to MARKER if we ask the user." | 1831 | Pop up the buffer containing MARKER and scroll to MARKER if we ask the user." |
| 1832 | (or formats (setq formats '("%s"))) | 1832 | (or formats (setq formats '("%s"))) |