diff options
| author | Christopher Zaborsky | 1992-09-27 17:22:08 +0000 |
|---|---|---|
| committer | Christopher Zaborsky | 1992-09-27 17:22:08 +0000 |
| commit | c8fa98ccfc86bac03eb119505abd8cbd112f387a (patch) | |
| tree | ba9833d9b6d3e4f52427d6214af78c340a7da14f | |
| parent | f480bf4b7488262c17f773bbfc6458c9d823b0dd (diff) | |
| download | emacs-c8fa98ccfc86bac03eb119505abd8cbd112f387a.tar.gz emacs-c8fa98ccfc86bac03eb119505abd8cbd112f387a.zip | |
Doc fix.
| -rw-r--r-- | lisp/abbrev.el | 2 | ||||
| -rw-r--r-- | lisp/ada.el | 2 | ||||
| -rw-r--r-- | lisp/ange-ftp.el | 25 |
3 files changed, 16 insertions, 13 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el index 9924b5c6c18..ad7dd54405c 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el | |||
| @@ -26,7 +26,7 @@ Makes the commands to define mode-specific abbrevs define global ones instead.") | |||
| 26 | 26 | ||
| 27 | (defun abbrev-mode (arg) | 27 | (defun abbrev-mode (arg) |
| 28 | "Toggle abbrev mode. | 28 | "Toggle abbrev mode. |
| 29 | With arg, turn abbrev mode on iff arg is positive. | 29 | With ARG, turn abbrev mode on iff ARG is positive. |
| 30 | In abbrev mode, inserting an abbreviation causes it to expand | 30 | In abbrev mode, inserting an abbreviation causes it to expand |
| 31 | and be replaced by its expansion." | 31 | and be replaced by its expansion." |
| 32 | (interactive "P") | 32 | (interactive "P") |
diff --git a/lisp/ada.el b/lisp/ada.el index e93d36fdd11..6cb305c3425 100644 --- a/lisp/ada.el +++ b/lisp/ada.el | |||
| @@ -393,7 +393,7 @@ Indent for the first line of code." | |||
| 393 | (ada-tab)) | 393 | (ada-tab)) |
| 394 | 394 | ||
| 395 | (defun ada-loop () | 395 | (defun ada-loop () |
| 396 | "Insert a skeleton loop statement. exit statement added by hand." | 396 | "Insert a skeleton loop statement. The exit statement is added by hand." |
| 397 | (interactive) | 397 | (interactive) |
| 398 | (insert "loop ") | 398 | (insert "loop ") |
| 399 | (let* ((ada-loop-name (read-string "[loop name]: ")) | 399 | (let* ((ada-loop-name (read-string "[loop name]: ")) |
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index ba0b2a40016..81829f1cdec 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -849,7 +849,7 @@ SIZE, if supplied, should be a prime number." | |||
| 849 | (intern-soft (ange-ftp-make-hash-key key) tbl)) | 849 | (intern-soft (ange-ftp-make-hash-key key) tbl)) |
| 850 | 850 | ||
| 851 | (defun ange-ftp-hash-table-keys (tbl) | 851 | (defun ange-ftp-hash-table-keys (tbl) |
| 852 | "Return a sorted list of all the active keys in the hashtable, as strings." | 852 | "Return a sorted list of all the active keys in TABLE, as strings." |
| 853 | (sort (all-completions "" tbl) | 853 | (sort (all-completions "" tbl) |
| 854 | (function string-lessp))) | 854 | (function string-lessp))) |
| 855 | 855 | ||
| @@ -857,7 +857,7 @@ SIZE, if supplied, should be a prime number." | |||
| 857 | ;;;; Internal variables. | 857 | ;;;; Internal variables. |
| 858 | ;;;; ------------------------------------------------------------ | 858 | ;;;; ------------------------------------------------------------ |
| 859 | 859 | ||
| 860 | (defconst ange-ftp-version "$Revision: 4.20 $") | 860 | (defconst ange-ftp-version "$Revision: 1.6 $") |
| 861 | 861 | ||
| 862 | (defvar ange-ftp-data-buffer-name " *ftp data*" | 862 | (defvar ange-ftp-data-buffer-name " *ftp data*" |
| 863 | "Buffer name to hold directory listing data received from ftp process.") | 863 | "Buffer name to hold directory listing data received from ftp process.") |
| @@ -1131,7 +1131,7 @@ Optional DEFAULT is password to start with." | |||
| 1131 | ;;;; ------------------------------------------------------------ | 1131 | ;;;; ------------------------------------------------------------ |
| 1132 | 1132 | ||
| 1133 | (defun ange-ftp-chase-symlinks (file) | 1133 | (defun ange-ftp-chase-symlinks (file) |
| 1134 | "Return the filename that FILENAME references, following all symbolic links." | 1134 | "Return the filename that FILE references, following all symbolic links." |
| 1135 | (let (temp) | 1135 | (let (temp) |
| 1136 | (while (setq temp (ange-ftp-real-file-symlink-p file)) | 1136 | (while (setq temp (ange-ftp-real-file-symlink-p file)) |
| 1137 | (setq file | 1137 | (setq file |
| @@ -1194,7 +1194,8 @@ found." | |||
| 1194 | (goto-char end))) | 1194 | (goto-char end))) |
| 1195 | 1195 | ||
| 1196 | (defun ange-ftp-parse-netrc () | 1196 | (defun ange-ftp-parse-netrc () |
| 1197 | "If ~/.netrc file exists and has the correct permissions then extract the | 1197 | "Read in ~/.netrc, if one exists. |
| 1198 | If ~/.netrc file exists and has the correct permissions then extract the | ||
| 1198 | \`machine\', \`login\', \`password\' and \`account\' information from within." | 1199 | \`machine\', \`login\', \`password\' and \`account\' information from within." |
| 1199 | 1200 | ||
| 1200 | ;; We set this before actually doing it to avoid the possibility | 1201 | ;; We set this before actually doing it to avoid the possibility |
| @@ -1344,7 +1345,8 @@ file." | |||
| 1344 | (auto-save-mode ange-ftp-auto-save)))) | 1345 | (auto-save-mode ange-ftp-auto-save)))) |
| 1345 | 1346 | ||
| 1346 | (defun ange-ftp-kill-ftp-process (buffer) | 1347 | (defun ange-ftp-kill-ftp-process (buffer) |
| 1347 | "If the BUFFER's visited filename or default-directory is an ftp filename | 1348 | "Kill the FTP process associated with BUFFER." |
| 1349 | If the BUFFER's visited filename or default-directory is an ftp filename | ||
| 1348 | then kill the related ftp process." | 1350 | then kill the related ftp process." |
| 1349 | (interactive "bKill FTP process associated with buffer: ") | 1351 | (interactive "bKill FTP process associated with buffer: ") |
| 1350 | (if (null buffer) | 1352 | (if (null buffer) |
| @@ -2399,7 +2401,7 @@ shouldn't be anchored with a trailing $ so that it will match subdirectories | |||
| 2399 | as well.") | 2401 | as well.") |
| 2400 | 2402 | ||
| 2401 | (defun ange-ftp-add-dl-dir (dir) | 2403 | (defun ange-ftp-add-dl-dir (dir) |
| 2402 | "Interactively adds a given directory to ange-ftp-dl-dir-regexp." | 2404 | "Interactively adds a DIR to ange-ftp-dl-dir-regexp." |
| 2403 | (interactive | 2405 | (interactive |
| 2404 | (list (read-string "Directory: " | 2406 | (list (read-string "Directory: " |
| 2405 | (let ((name (or (buffer-file-name) | 2407 | (let ((name (or (buffer-file-name) |
| @@ -2567,9 +2569,10 @@ that a wasted listing is not done: | |||
| 2567 | (ange-ftp-get-files dir)))))) | 2569 | (ange-ftp-get-files dir)))))) |
| 2568 | 2570 | ||
| 2569 | (defun ange-ftp-get-file-entry (name) | 2571 | (defun ange-ftp-get-file-entry (name) |
| 2570 | "Given NAME, return the given file entry which will be either t for a | 2572 | "Given NAME, return the given file entry. |
| 2571 | directory, nil for a normal file, or a string for a symlink. If the file | 2573 | The entry will be either t for a directory, nil for a normal file, |
| 2572 | isn't in the hashtable, this also returns nil." | 2574 | or a string for a symlink. If the file isn't in the hashtable, |
| 2575 | this also returns nil." | ||
| 2573 | (let* ((name (directory-file-name name)) | 2576 | (let* ((name (directory-file-name name)) |
| 2574 | (dir (file-name-directory name)) | 2577 | (dir (file-name-directory name)) |
| 2575 | (ent (ange-ftp-get-hash-entry dir ange-ftp-files-hashtable)) | 2578 | (ent (ange-ftp-get-hash-entry dir ange-ftp-files-hashtable)) |
| @@ -3381,7 +3384,7 @@ system TYPE.") | |||
| 3381 | (delete-file filename)))) | 3384 | (delete-file filename)))) |
| 3382 | 3385 | ||
| 3383 | (defun ange-ftp-rename-local-to-remote (filename newname) | 3386 | (defun ange-ftp-rename-local-to-remote (filename newname) |
| 3384 | "Rename local FILE to remote file NEWNAME." | 3387 | "Rename local FILENAME to remote file NEWNAME." |
| 3385 | (let* ((fabbr (ange-ftp-abbreviate-filename filename)) | 3388 | (let* ((fabbr (ange-ftp-abbreviate-filename filename)) |
| 3386 | (nabbr (ange-ftp-abbreviate-filename newname filename)) | 3389 | (nabbr (ange-ftp-abbreviate-filename newname filename)) |
| 3387 | (msg (format "Renaming %s to %s" fabbr nabbr))) | 3390 | (msg (format "Renaming %s to %s" fabbr nabbr))) |
| @@ -3390,7 +3393,7 @@ system TYPE.") | |||
| 3390 | (delete-file filename)))) | 3393 | (delete-file filename)))) |
| 3391 | 3394 | ||
| 3392 | (defun ange-ftp-rename-remote-to-local (filename newname) | 3395 | (defun ange-ftp-rename-remote-to-local (filename newname) |
| 3393 | "Rename remote file FILE to local file NEWNAME." | 3396 | "Rename remote file FILENAME to local file NEWNAME." |
| 3394 | (let* ((fabbr (ange-ftp-abbreviate-filename filename)) | 3397 | (let* ((fabbr (ange-ftp-abbreviate-filename filename)) |
| 3395 | (nabbr (ange-ftp-abbreviate-filename newname filename)) | 3398 | (nabbr (ange-ftp-abbreviate-filename newname filename)) |
| 3396 | (msg (format "Renaming %s to %s" fabbr nabbr))) | 3399 | (msg (format "Renaming %s to %s" fabbr nabbr))) |