diff options
| author | Richard M. Stallman | 1996-02-04 21:30:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-02-04 21:30:40 +0000 |
| commit | f9636fb2c4b8c05f2a9cab70440f30c7cca07fbd (patch) | |
| tree | 2bfe30a995fd3796d1eed00a904a08c9336d77e7 | |
| parent | 8ba83f4b87a73dc6cca6a831d472204013c678cc (diff) | |
| download | emacs-f9636fb2c4b8c05f2a9cab70440f30c7cca07fbd.tar.gz emacs-f9636fb2c4b8c05f2a9cab70440f30c7cca07fbd.zip | |
(lm-insert-at-column): Renamed from insert-at-column.
All callers changed.
(lm-synopsis): Add interactive spec.
| -rw-r--r-- | lisp/emacs-lisp/lisp-mnt.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/lisp-mnt.el b/lisp/emacs-lisp/lisp-mnt.el index 5bc159f4c8d..05e7f58d321 100644 --- a/lisp/emacs-lisp/lisp-mnt.el +++ b/lisp/emacs-lisp/lisp-mnt.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> |
| 6 | ;; Maintainer: Eric S. Raymond <esr@snark.thyrsus.com> | 6 | ;; Maintainer: Eric S. Raymond <esr@snark.thyrsus.com> |
| 7 | ;; Created: 14 Jul 1992 | 7 | ;; Created: 14 Jul 1992 |
| 8 | ;; Version: $Id: lisp-mnt.el,v 1.12 1996/01/14 07:34:30 erik Exp kwzh $ | 8 | ;; Version: $Id: lisp-mnt.el,v 1.13 1996/01/25 00:55:13 kwzh Exp rms $ |
| 9 | ;; Keywords: docs | 9 | ;; Keywords: docs |
| 10 | ;; X-Bogus-Bureaucratic-Cruft: Gruad will get you if you don't watch out! | 10 | ;; X-Bogus-Bureaucratic-Cruft: Gruad will get you if you don't watch out! |
| 11 | 11 | ||
| @@ -335,7 +335,7 @@ | |||
| 335 | 335 | ||
| 336 | ;;; Verification and synopses | 336 | ;;; Verification and synopses |
| 337 | 337 | ||
| 338 | (defun insert-at-column (col &rest pieces) | 338 | (defun lm-insert-at-column (col &rest pieces) |
| 339 | (if (> (current-column) col) (insert "\n")) | 339 | (if (> (current-column) col) (insert "\n")) |
| 340 | (move-to-column-force col) | 340 | (move-to-column-force col) |
| 341 | (apply 'insert pieces)) | 341 | (apply 'insert pieces)) |
| @@ -357,11 +357,11 @@ a temporary buffer." | |||
| 357 | (if status | 357 | (if status |
| 358 | (progn | 358 | (progn |
| 359 | (insert f ":") | 359 | (insert f ":") |
| 360 | (insert-at-column lm-comment-column status "\n")) | 360 | (lm-insert-at-column lm-comment-column status "\n")) |
| 361 | (and showok | 361 | (and showok |
| 362 | (progn | 362 | (progn |
| 363 | (insert f ":") | 363 | (insert f ":") |
| 364 | (insert-at-column lm-comment-column "OK\n"))))))) | 364 | (lm-insert-at-column lm-comment-column "OK\n"))))))) |
| 365 | (directory-files file)) | 365 | (directory-files file)) |
| 366 | ) | 366 | ) |
| 367 | (save-excursion | 367 | (save-excursion |
| @@ -388,6 +388,7 @@ a temporary buffer." | |||
| 388 | If FILE is a directory, recurse on its files and generate a report into | 388 | If FILE is a directory, recurse on its files and generate a report into |
| 389 | a temporary buffer. If SHOWALL is on, also generate a line for files | 389 | a temporary buffer. If SHOWALL is on, also generate a line for files |
| 390 | which do not include a recognizable synopsis." | 390 | which do not include a recognizable synopsis." |
| 391 | (interactive "fSynopsis for (file or dir): ") | ||
| 391 | (if (and file (file-directory-p file)) | 392 | (if (and file (file-directory-p file)) |
| 392 | (progn | 393 | (progn |
| 393 | (switch-to-buffer (get-buffer-create "*lm-verify*")) | 394 | (switch-to-buffer (get-buffer-create "*lm-verify*")) |
| @@ -399,11 +400,11 @@ which do not include a recognizable synopsis." | |||
| 399 | (if syn | 400 | (if syn |
| 400 | (progn | 401 | (progn |
| 401 | (insert f ":") | 402 | (insert f ":") |
| 402 | (insert-at-column lm-comment-column syn "\n")) | 403 | (lm-insert-at-column lm-comment-column syn "\n")) |
| 403 | (and showall | 404 | (and showall |
| 404 | (progn | 405 | (progn |
| 405 | (insert f ":") | 406 | (insert f ":") |
| 406 | (insert-at-column lm-comment-column "NA\n"))))))) | 407 | (lm-insert-at-column lm-comment-column "NA\n"))))))) |
| 407 | (directory-files file)) | 408 | (directory-files file)) |
| 408 | ) | 409 | ) |
| 409 | (save-excursion | 410 | (save-excursion |