diff options
| author | Jim Blandy | 1991-05-09 21:50:55 +0000 |
|---|---|---|
| committer | Jim Blandy | 1991-05-09 21:50:55 +0000 |
| commit | f9f9507e1d3202408b73b0c32a6e504502a70d5e (patch) | |
| tree | f53ad33f6276bfcd7d883fc82c7a6f8795c80f6a | |
| parent | 745bc783eb8bd84b07a7d512660947ec214e71eb (diff) | |
| download | emacs-f9f9507e1d3202408b73b0c32a6e504502a70d5e.tar.gz emacs-f9f9507e1d3202408b73b0c32a6e504502a70d5e.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/echistory.el | 1 | ||||
| -rw-r--r-- | lisp/edmacro.el | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/helper.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/edt.el | 1 | ||||
| -rw-r--r-- | lisp/emulation/mlconvert.el | 1 | ||||
| -rw-r--r-- | lisp/emulation/vi.el | 1 | ||||
| -rw-r--r-- | lisp/emulation/vip.el | 1 | ||||
| -rw-r--r-- | lisp/gosmacs.el | 1 | ||||
| -rw-r--r-- | lisp/makesum.el | 1 | ||||
| -rw-r--r-- | lisp/options.el | 2 | ||||
| -rw-r--r-- | lisp/play/dissociate.el | 1 | ||||
| -rw-r--r-- | lisp/play/hanoi.el | 1 | ||||
| -rw-r--r-- | lisp/progmodes/modula2.el | 1 | ||||
| -rw-r--r-- | lisp/progmodes/prolog.el | 2 | ||||
| -rw-r--r-- | lisp/rect.el | 8 | ||||
| -rw-r--r-- | lisp/sort.el | 8 | ||||
| -rw-r--r-- | lisp/tabify.el | 2 | ||||
| -rw-r--r-- | lisp/telnet.el | 1 | ||||
| -rw-r--r-- | lisp/textmodes/ooutline.el | 1 | ||||
| -rw-r--r-- | lisp/textmodes/scribe.el | 1 | ||||
| -rw-r--r-- | lisp/textmodes/spell.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/texinfmt.el | 3 | ||||
| -rw-r--r-- | lisp/textmodes/texinfo.el | 1 | ||||
| -rw-r--r-- | lisp/textmodes/underline.el | 2 | ||||
| -rw-r--r-- | lisp/userlock.el | 2 | ||||
| -rw-r--r-- | lisp/xscheme.el | 1 |
26 files changed, 53 insertions, 0 deletions
diff --git a/lisp/echistory.el b/lisp/echistory.el index f50c4e66c91..1354650f171 100644 --- a/lisp/echistory.el +++ b/lisp/echistory.el | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | (require 'electric) ; command loop | 22 | (require 'electric) ; command loop |
| 23 | (require 'chistory) ; history lister | 23 | (require 'chistory) ; history lister |
| 24 | 24 | ||
| 25 | ;;;###autoload | ||
| 25 | (defun Electric-command-history-redo-expression (&optional noconfirm) | 26 | (defun Electric-command-history-redo-expression (&optional noconfirm) |
| 26 | "Edit current history line in minibuffer and execute result. | 27 | "Edit current history line in minibuffer and execute result. |
| 27 | With prefix arg NOCONFIRM, execute current line as-is without editing." | 28 | With prefix arg NOCONFIRM, execute current line as-is without editing." |
diff --git a/lisp/edmacro.el b/lisp/edmacro.el index a59edee69a0..90d8ebed47c 100644 --- a/lisp/edmacro.el +++ b/lisp/edmacro.el | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | ;;; The user-level commands for editing macros. | 28 | ;;; The user-level commands for editing macros. |
| 29 | 29 | ||
| 30 | ;;;###autoload | ||
| 30 | (defun edit-last-kbd-macro (&optional prefix buffer hook) | 31 | (defun edit-last-kbd-macro (&optional prefix buffer hook) |
| 31 | "Edit the most recently defined keyboard macro." | 32 | "Edit the most recently defined keyboard macro." |
| 32 | (interactive "P") | 33 | (interactive "P") |
| @@ -34,6 +35,7 @@ | |||
| 34 | (function (lambda (x arg) (setq last-kbd-macro x))) | 35 | (function (lambda (x arg) (setq last-kbd-macro x))) |
| 35 | prefix buffer hook)) | 36 | prefix buffer hook)) |
| 36 | 37 | ||
| 38 | ;;;###autoload | ||
| 37 | (defun edit-kbd-macro (cmd &optional prefix buffer hook in-hook out-hook) | 39 | (defun edit-kbd-macro (cmd &optional prefix buffer hook in-hook out-hook) |
| 38 | "Edit a keyboard macro which has been given a name by `name-last-kbd-macro'. | 40 | "Edit a keyboard macro which has been given a name by `name-last-kbd-macro'. |
| 39 | \(See also `edit-last-kbd-macro'.)" | 41 | \(See also `edit-last-kbd-macro'.)" |
| @@ -49,6 +51,7 @@ | |||
| 49 | 'x))) | 51 | 'x))) |
| 50 | prefix buffer hook cmd))) | 52 | prefix buffer hook cmd))) |
| 51 | 53 | ||
| 54 | ;;;###autoload | ||
| 52 | (defun read-kbd-macro (start end) | 55 | (defun read-kbd-macro (start end) |
| 53 | "Read the region as a keyboard macro definition. | 56 | "Read the region as a keyboard macro definition. |
| 54 | The region is interpreted as spelled-out keystrokes, e.g., \"M-x abc RET\". | 57 | The region is interpreted as spelled-out keystrokes, e.g., \"M-x abc RET\". |
diff --git a/lisp/emacs-lisp/helper.el b/lisp/emacs-lisp/helper.el index 233196b5973..c718e94be30 100644 --- a/lisp/emacs-lisp/helper.el +++ b/lisp/emacs-lisp/helper.el | |||
| @@ -121,6 +121,7 @@ | |||
| 121 | (insert name " Mode\n" documentation))) | 121 | (insert name " Mode\n" documentation))) |
| 122 | (Helper-help-scroller)) | 122 | (Helper-help-scroller)) |
| 123 | 123 | ||
| 124 | ;;;###autoload | ||
| 124 | (defun Helper-describe-bindings () | 125 | (defun Helper-describe-bindings () |
| 125 | "Describe local key bindings of current mode." | 126 | "Describe local key bindings of current mode." |
| 126 | (interactive) | 127 | (interactive) |
| @@ -128,6 +129,7 @@ | |||
| 128 | (save-window-excursion (describe-bindings)) | 129 | (save-window-excursion (describe-bindings)) |
| 129 | (Helper-help-scroller)) | 130 | (Helper-help-scroller)) |
| 130 | 131 | ||
| 132 | ;;;###autoload | ||
| 131 | (defun Helper-help () | 133 | (defun Helper-help () |
| 132 | "Provide help for current mode." | 134 | "Provide help for current mode." |
| 133 | (interactive) | 135 | (interactive) |
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index 5a2611d9460..be7c051e82a 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el | |||
| @@ -263,6 +263,7 @@ and mark-paragraph for other modes." | |||
| 263 | (t (mark-paragraph)))) | 263 | (t (mark-paragraph)))) |
| 264 | 264 | ||
| 265 | ;;; Key Bindings | 265 | ;;; Key Bindings |
| 266 | ;;;###autoload | ||
| 266 | (defun edt-emulation-on () | 267 | (defun edt-emulation-on () |
| 267 | "Emulate DEC's EDT editor. | 268 | "Emulate DEC's EDT editor. |
| 268 | Note that many keys are rebound; including nearly all keypad keys. | 269 | Note that many keys are rebound; including nearly all keypad keys. |
diff --git a/lisp/emulation/mlconvert.el b/lisp/emulation/mlconvert.el index faf88e5ab32..3f14afa505e 100644 --- a/lisp/emulation/mlconvert.el +++ b/lisp/emulation/mlconvert.el | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | ;; along with GNU Emacs; see the file COPYING. If not, write to | 17 | ;; along with GNU Emacs; see the file COPYING. If not, write to |
| 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 19 | 19 | ||
| 20 | ;;;###autoload | ||
| 20 | (defun convert-mocklisp-buffer () | 21 | (defun convert-mocklisp-buffer () |
| 21 | "Convert buffer of Mocklisp code to real Lisp that GNU Emacs can run." | 22 | "Convert buffer of Mocklisp code to real Lisp that GNU Emacs can run." |
| 22 | (interactive) | 23 | (interactive) |
diff --git a/lisp/emulation/vi.el b/lisp/emulation/vi.el index 324f0b5882d..55259ed4221 100644 --- a/lisp/emulation/vi.el +++ b/lisp/emulation/vi.el | |||
| @@ -384,6 +384,7 @@ form that is ready to be 'apply'ed.") | |||
| 384 | (make-local-variable 'vi-mode-old-case-fold) | 384 | (make-local-variable 'vi-mode-old-case-fold) |
| 385 | (run-hooks 'vi-mode-hook)) | 385 | (run-hooks 'vi-mode-hook)) |
| 386 | 386 | ||
| 387 | ;;;###autoload | ||
| 387 | (defun vi-mode () | 388 | (defun vi-mode () |
| 388 | "Major mode that acts like the `vi' editor. | 389 | "Major mode that acts like the `vi' editor. |
| 389 | The purpose of this mode is to provide you the combined power of vi (namely, | 390 | The purpose of this mode is to provide you the combined power of vi (namely, |
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index da853aa9c36..0e3d700a814 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el | |||
| @@ -214,6 +214,7 @@ function replaces the string by \"Vi: \" etc." | |||
| 214 | vip-emacs-mode-line-buffer-identification | 214 | vip-emacs-mode-line-buffer-identification |
| 215 | (list (concat string " %17b"))))) | 215 | (list (concat string " %17b"))))) |
| 216 | 216 | ||
| 217 | ;;;###autoload | ||
| 217 | (defun vip-mode () | 218 | (defun vip-mode () |
| 218 | "Turn on VIP emulation of VI." | 219 | "Turn on VIP emulation of VI." |
| 219 | (interactive) | 220 | (interactive) |
diff --git a/lisp/gosmacs.el b/lisp/gosmacs.el index 98f6368f0a8..1f227abe364 100644 --- a/lisp/gosmacs.el +++ b/lisp/gosmacs.el | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | 20 | ||
| 21 | (defvar non-gosmacs-binding-alist nil) | 21 | (defvar non-gosmacs-binding-alist nil) |
| 22 | 22 | ||
| 23 | ;;;###autoload | ||
| 23 | (defun set-gosmacs-bindings () | 24 | (defun set-gosmacs-bindings () |
| 24 | "Rebind some keys globally to make GNU Emacs resemble Gosling Emacs. | 25 | "Rebind some keys globally to make GNU Emacs resemble Gosling Emacs. |
| 25 | Use \\[set-gnu-bindings] to restore previous global bindings." | 26 | Use \\[set-gnu-bindings] to restore previous global bindings." |
diff --git a/lisp/makesum.el b/lisp/makesum.el index 425895919af..4274e900e7e 100644 --- a/lisp/makesum.el +++ b/lisp/makesum.el | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | ;;;###autoload | ||
| 21 | (defun make-command-summary () | 22 | (defun make-command-summary () |
| 22 | "Make a summary of current key bindings in the buffer *Summary*. | 23 | "Make a summary of current key bindings in the buffer *Summary*. |
| 23 | Previous contents of that buffer are killed first." | 24 | Previous contents of that buffer are killed first." |
diff --git a/lisp/options.el b/lisp/options.el index e67346cab63..3abd02910ba 100644 --- a/lisp/options.el +++ b/lisp/options.el | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | ;;;###autoload | ||
| 21 | (defun list-options () | 22 | (defun list-options () |
| 22 | "Display a list of Emacs user options, with values and documentation." | 23 | "Display a list of Emacs user options, with values and documentation." |
| 23 | (interactive) | 24 | (interactive) |
| @@ -42,6 +43,7 @@ | |||
| 42 | (princ "\n;;\n")) | 43 | (princ "\n;;\n")) |
| 43 | (setq vars (cdr vars)))))) | 44 | (setq vars (cdr vars)))))) |
| 44 | 45 | ||
| 46 | ;;;###autoload | ||
| 45 | (defun edit-options () | 47 | (defun edit-options () |
| 46 | "Edit a list of Emacs user option values. | 48 | "Edit a list of Emacs user option values. |
| 47 | Selects a buffer containing such a list, | 49 | Selects a buffer containing such a list, |
diff --git a/lisp/play/dissociate.el b/lisp/play/dissociate.el index b6ac2fa4ea8..f33682db749 100644 --- a/lisp/play/dissociate.el +++ b/lisp/play/dissociate.el | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | ;;;###autoload | ||
| 21 | (defun dissociated-press (&optional arg) | 22 | (defun dissociated-press (&optional arg) |
| 22 | "Dissociate the text of the current buffer. | 23 | "Dissociate the text of the current buffer. |
| 23 | Output goes in buffer named *Dissociation*, | 24 | Output goes in buffer named *Dissociation*, |
diff --git a/lisp/play/hanoi.el b/lisp/play/hanoi.el index 8884f6cb37b..425f98f5191 100644 --- a/lisp/play/hanoi.el +++ b/lisp/play/hanoi.el | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | ;;; | 15 | ;;; |
| 16 | ;;; hanoi - user callable Towers of Hanoi | 16 | ;;; hanoi - user callable Towers of Hanoi |
| 17 | ;;; | 17 | ;;; |
| 18 | ;;;###autoload | ||
| 18 | (defun hanoi (nrings) | 19 | (defun hanoi (nrings) |
| 19 | "Towers of Hanoi diversion. Argument is number of rings." | 20 | "Towers of Hanoi diversion. Argument is number of rings." |
| 20 | (interactive | 21 | (interactive |
diff --git a/lisp/progmodes/modula2.el b/lisp/progmodes/modula2.el index eee1ece3a00..24f5225260a 100644 --- a/lisp/progmodes/modula2.el +++ b/lisp/progmodes/modula2.el | |||
| @@ -75,6 +75,7 @@ | |||
| 75 | 75 | ||
| 76 | (defvar m2-indent 5 "*This variable gives the indentation in Modula-2-Mode") | 76 | (defvar m2-indent 5 "*This variable gives the indentation in Modula-2-Mode") |
| 77 | 77 | ||
| 78 | ;;;###autoload | ||
| 78 | (defun modula-2-mode () | 79 | (defun modula-2-mode () |
| 79 | "This is a mode intended to support program development in Modula-2. | 80 | "This is a mode intended to support program development in Modula-2. |
| 80 | All control constructs of Modula-2 can be reached by typing C-c | 81 | All control constructs of Modula-2 can be reached by typing C-c |
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 90058595b49..9220495bbf8 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el | |||
| @@ -84,6 +84,7 @@ nil means send actual operating system end of file.") | |||
| 84 | (setq prolog-mode-map (make-sparse-keymap)) | 84 | (setq prolog-mode-map (make-sparse-keymap)) |
| 85 | (prolog-mode-commands prolog-mode-map)) | 85 | (prolog-mode-commands prolog-mode-map)) |
| 86 | 86 | ||
| 87 | ;;;###autoload | ||
| 87 | (defun prolog-mode () | 88 | (defun prolog-mode () |
| 88 | "Major mode for editing Prolog code for Prologs. | 89 | "Major mode for editing Prolog code for Prologs. |
| 89 | Blank lines and `%%...' separate paragraphs. `%'s start comments. | 90 | Blank lines and `%%...' separate paragraphs. `%'s start comments. |
| @@ -227,6 +228,7 @@ Return not at end copies rest of line to end and sends it. | |||
| 227 | (use-local-map inferior-prolog-mode-map) | 228 | (use-local-map inferior-prolog-mode-map) |
| 228 | (run-hooks 'prolog-mode-hook)) | 229 | (run-hooks 'prolog-mode-hook)) |
| 229 | 230 | ||
| 231 | ;;;###autoload | ||
| 230 | (defun run-prolog () | 232 | (defun run-prolog () |
| 231 | "Run an inferior Prolog process, input and output via buffer *prolog*." | 233 | "Run an inferior Prolog process, input and output via buffer *prolog*." |
| 232 | (interactive) | 234 | (interactive) |
diff --git a/lisp/rect.el b/lisp/rect.el index 653a4937662..06a55a295a6 100644 --- a/lisp/rect.el +++ b/lisp/rect.el | |||
| @@ -102,6 +102,7 @@ Point is at the end of the segment of this line within the rectangle." | |||
| 102 | n (- n 8))) | 102 | n (- n 8))) |
| 103 | (concat val (aref spaces-strings n))))) | 103 | (concat val (aref spaces-strings n))))) |
| 104 | 104 | ||
| 105 | ;;;###autoload | ||
| 105 | (defun delete-rectangle (start end) | 106 | (defun delete-rectangle (start end) |
| 106 | "Delete (don't save) text in rectangle with point and mark as corners. | 107 | "Delete (don't save) text in rectangle with point and mark as corners. |
| 107 | The same range of columns is deleted in each line starting with the line | 108 | The same range of columns is deleted in each line starting with the line |
| @@ -109,6 +110,7 @@ where the region begins and ending with the line where the region ends." | |||
| 109 | (interactive "r") | 110 | (interactive "r") |
| 110 | (operate-on-rectangle 'delete-rectangle-line start end t)) | 111 | (operate-on-rectangle 'delete-rectangle-line start end t)) |
| 111 | 112 | ||
| 113 | ;;;###autoload | ||
| 112 | (defun delete-extract-rectangle (start end) | 114 | (defun delete-extract-rectangle (start end) |
| 113 | "Delete contents of rectangle and return it as a list of strings. | 115 | "Delete contents of rectangle and return it as a list of strings. |
| 114 | Arguments START and END are the corners of the rectangle. | 116 | Arguments START and END are the corners of the rectangle. |
| @@ -118,6 +120,7 @@ The value is list of strings, one for each line of the rectangle." | |||
| 118 | start end t) | 120 | start end t) |
| 119 | (nreverse lines))) | 121 | (nreverse lines))) |
| 120 | 122 | ||
| 123 | ;;;###autoload | ||
| 121 | (defun extract-rectangle (start end) | 124 | (defun extract-rectangle (start end) |
| 122 | "Return contents of rectangle with corners at START and END. | 125 | "Return contents of rectangle with corners at START and END. |
| 123 | Value is list of strings, one for each line of the rectangle." | 126 | Value is list of strings, one for each line of the rectangle." |
| @@ -128,6 +131,7 @@ Value is list of strings, one for each line of the rectangle." | |||
| 128 | (defvar killed-rectangle nil | 131 | (defvar killed-rectangle nil |
| 129 | "Rectangle for yank-rectangle to insert.") | 132 | "Rectangle for yank-rectangle to insert.") |
| 130 | 133 | ||
| 134 | ;;;###autoload | ||
| 131 | (defun kill-rectangle (start end) | 135 | (defun kill-rectangle (start end) |
| 132 | "Delete rectangle with corners at point and mark; save as last killed one. | 136 | "Delete rectangle with corners at point and mark; save as last killed one. |
| 133 | Calling from program, supply two args START and END, buffer positions. | 137 | Calling from program, supply two args START and END, buffer positions. |
| @@ -135,11 +139,13 @@ But in programs you might prefer to use `delete-extract-rectangle'." | |||
| 135 | (interactive "r") | 139 | (interactive "r") |
| 136 | (setq killed-rectangle (delete-extract-rectangle start end))) | 140 | (setq killed-rectangle (delete-extract-rectangle start end))) |
| 137 | 141 | ||
| 142 | ;;;###autoload | ||
| 138 | (defun yank-rectangle () | 143 | (defun yank-rectangle () |
| 139 | "Yank the last killed rectangle with upper left corner at point." | 144 | "Yank the last killed rectangle with upper left corner at point." |
| 140 | (interactive) | 145 | (interactive) |
| 141 | (insert-rectangle killed-rectangle)) | 146 | (insert-rectangle killed-rectangle)) |
| 142 | 147 | ||
| 148 | ;;;###autoload | ||
| 143 | (defun insert-rectangle (rectangle) | 149 | (defun insert-rectangle (rectangle) |
| 144 | "Insert text of RECTANGLE with upper left corner at point. | 150 | "Insert text of RECTANGLE with upper left corner at point. |
| 145 | RECTANGLE's first line is inserted at point, its second | 151 | RECTANGLE's first line is inserted at point, its second |
| @@ -162,6 +168,7 @@ RECTANGLE should be a list of strings." | |||
| 162 | (insert (car lines)) | 168 | (insert (car lines)) |
| 163 | (setq lines (cdr lines))))) | 169 | (setq lines (cdr lines))))) |
| 164 | 170 | ||
| 171 | ;;;###autoload | ||
| 165 | (defun open-rectangle (start end) | 172 | (defun open-rectangle (start end) |
| 166 | "Blank out rectangle with corners at point and mark, shifting text right. | 173 | "Blank out rectangle with corners at point and mark, shifting text right. |
| 167 | The text previously in the region is not overwritten by the blanks, | 174 | The text previously in the region is not overwritten by the blanks, |
| @@ -180,6 +187,7 @@ but insted winds up to the right of the rectangle." | |||
| 180 | (point))) | 187 | (point))) |
| 181 | (indent-to column))) | 188 | (indent-to column))) |
| 182 | 189 | ||
| 190 | ;;;###autoload | ||
| 183 | (defun clear-rectangle (start end) | 191 | (defun clear-rectangle (start end) |
| 184 | "Blank out rectangle with corners at point and mark. | 192 | "Blank out rectangle with corners at point and mark. |
| 185 | The text previously in the region is overwritten by the blanks. | 193 | The text previously in the region is overwritten by the blanks. |
diff --git a/lisp/sort.el b/lisp/sort.el index d494b2e757c..f5ad0765dc2 100644 --- a/lisp/sort.el +++ b/lisp/sort.el | |||
| @@ -169,6 +169,7 @@ same as ENDRECFUN." | |||
| 169 | (narrow-to-region min (1+ (point))) | 169 | (narrow-to-region min (1+ (point))) |
| 170 | (delete-region (point) (1+ (point))))) | 170 | (delete-region (point) (1+ (point))))) |
| 171 | 171 | ||
| 172 | ;;;###autoload | ||
| 172 | (defun sort-lines (reverse beg end) | 173 | (defun sort-lines (reverse beg end) |
| 173 | "Sort lines in region alphabetically; argument means descending order. | 174 | "Sort lines in region alphabetically; argument means descending order. |
| 174 | Called from a program, there are three arguments: | 175 | Called from a program, there are three arguments: |
| @@ -180,6 +181,7 @@ REVERSE (non-nil means reverse order), BEG and END (region to sort)." | |||
| 180 | (goto-char (point-min)) | 181 | (goto-char (point-min)) |
| 181 | (sort-subr reverse 'forward-line 'end-of-line)))) | 182 | (sort-subr reverse 'forward-line 'end-of-line)))) |
| 182 | 183 | ||
| 184 | ;;;###autoload | ||
| 183 | (defun sort-paragraphs (reverse beg end) | 185 | (defun sort-paragraphs (reverse beg end) |
| 184 | "Sort paragraphs in region alphabetically; argument means descending order. | 186 | "Sort paragraphs in region alphabetically; argument means descending order. |
| 185 | Called from a program, there are three arguments: | 187 | Called from a program, there are three arguments: |
| @@ -193,6 +195,7 @@ REVERSE (non-nil means reverse order), BEG and END (region to sort)." | |||
| 193 | (function (lambda () (skip-chars-forward "\n \t\f"))) | 195 | (function (lambda () (skip-chars-forward "\n \t\f"))) |
| 194 | 'forward-paragraph)))) | 196 | 'forward-paragraph)))) |
| 195 | 197 | ||
| 198 | ;;;###autoload | ||
| 196 | (defun sort-pages (reverse beg end) | 199 | (defun sort-pages (reverse beg end) |
| 197 | "Sort pages in region alphabetically; argument means descending order. | 200 | "Sort pages in region alphabetically; argument means descending order. |
| 198 | Called from a program, there are three arguments: | 201 | Called from a program, there are three arguments: |
| @@ -219,6 +222,7 @@ REVERSE (non-nil means reverse order), BEG and END (region to sort)." | |||
| 219 | (modify-syntax-entry ?\. "_" table) ; for floating pt. numbers. -wsr | 222 | (modify-syntax-entry ?\. "_" table) ; for floating pt. numbers. -wsr |
| 220 | (setq sort-fields-syntax-table table))) | 223 | (setq sort-fields-syntax-table table))) |
| 221 | 224 | ||
| 225 | ;;;###autoload | ||
| 222 | (defun sort-numeric-fields (field beg end) | 226 | (defun sort-numeric-fields (field beg end) |
| 223 | "Sort lines in region numerically by the ARGth field of each line. | 227 | "Sort lines in region numerically by the ARGth field of each line. |
| 224 | Fields are separated by whitespace and numbered from 1 up. | 228 | Fields are separated by whitespace and numbered from 1 up. |
| @@ -260,6 +264,7 @@ region to sort." | |||
| 260 | (point)))))) | 264 | (point)))))) |
| 261 | nil)) | 265 | nil)) |
| 262 | 266 | ||
| 267 | ;;;###autoload | ||
| 263 | (defun sort-fields (field beg end) | 268 | (defun sort-fields (field beg end) |
| 264 | "Sort lines in region lexicographically by the ARGth field of each line. | 269 | "Sort lines in region lexicographically by the ARGth field of each line. |
| 265 | Fields are separated by whitespace and numbered from 1 up. | 270 | Fields are separated by whitespace and numbered from 1 up. |
| @@ -303,6 +308,7 @@ FIELD, BEG and END. BEG and END specify region to sort." | |||
| 303 | (skip-chars-forward " \t"))) | 308 | (skip-chars-forward " \t"))) |
| 304 | 309 | ||
| 305 | 310 | ||
| 311 | ;;;###autoload | ||
| 306 | (defun sort-regexp-fields (reverse record-regexp key-regexp beg end) | 312 | (defun sort-regexp-fields (reverse record-regexp key-regexp beg end) |
| 307 | "Sort the region lexicographically as specifed by RECORD-REGEXP and KEY. | 313 | "Sort the region lexicographically as specifed by RECORD-REGEXP and KEY. |
| 308 | RECORD-REGEXP specifies the textual units which should be sorted. | 314 | RECORD-REGEXP specifies the textual units which should be sorted. |
| @@ -364,6 +370,7 @@ sRegexp specifying key within record: \nr") | |||
| 364 | 370 | ||
| 365 | (defvar sort-columns-subprocess t) | 371 | (defvar sort-columns-subprocess t) |
| 366 | 372 | ||
| 373 | ;;;###autoload | ||
| 367 | (defun sort-columns (reverse &optional beg end) | 374 | (defun sort-columns (reverse &optional beg end) |
| 368 | "Sort lines in region alphabetically by a certain range of columns. | 375 | "Sort lines in region alphabetically by a certain range of columns. |
| 369 | For the purpose of this command, the region includes | 376 | For the purpose of this command, the region includes |
| @@ -406,6 +413,7 @@ Use \\[untabify] to convert tabs to spaces before sorting." | |||
| 406 | (function (lambda () (move-to-column col-start) nil)) | 413 | (function (lambda () (move-to-column col-start) nil)) |
| 407 | (function (lambda () (move-to-column col-end) nil))))))))) | 414 | (function (lambda () (move-to-column col-end) nil))))))))) |
| 408 | 415 | ||
| 416 | ;;;###autoload | ||
| 409 | (defun reverse-region (beg end) | 417 | (defun reverse-region (beg end) |
| 410 | "Reverse the order of lines in a region. | 418 | "Reverse the order of lines in a region. |
| 411 | From a program takes two point or marker arguments, BEG and END." | 419 | From a program takes two point or marker arguments, BEG and END." |
diff --git a/lisp/tabify.el b/lisp/tabify.el index 2d660c82c61..492bd48ec7b 100644 --- a/lisp/tabify.el +++ b/lisp/tabify.el | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | ;;;###autoload | ||
| 21 | (defun untabify (start end) | 22 | (defun untabify (start end) |
| 22 | "Convert all tabs in region to multiple spaces, preserving columns. | 23 | "Convert all tabs in region to multiple spaces, preserving columns. |
| 23 | The variable tab-width controls the action." | 24 | The variable tab-width controls the action." |
| @@ -34,6 +35,7 @@ The variable tab-width controls the action." | |||
| 34 | (delete-region start (point)) | 35 | (delete-region start (point)) |
| 35 | (indent-to column)))))) | 36 | (indent-to column)))))) |
| 36 | 37 | ||
| 38 | ;;;###autoload | ||
| 37 | (defun tabify (start end) | 39 | (defun tabify (start end) |
| 38 | "Convert multiple spaces in region to tabs when possible. | 40 | "Convert multiple spaces in region to tabs when possible. |
| 39 | A group of spaces is partially replaced by tabs | 41 | A group of spaces is partially replaced by tabs |
diff --git a/lisp/telnet.el b/lisp/telnet.el index 77939cf0dd1..9da56bd8dd8 100644 --- a/lisp/telnet.el +++ b/lisp/telnet.el | |||
| @@ -139,6 +139,7 @@ rejecting one login and prompting for the again for a username and password.") | |||
| 139 | (interactive) | 139 | (interactive) |
| 140 | (comint-send-input telnet-new-line telnet-remote-echoes)) | 140 | (comint-send-input telnet-new-line telnet-remote-echoes)) |
| 141 | 141 | ||
| 142 | ;;;###autoload | ||
| 142 | (defun telnet (arg) | 143 | (defun telnet (arg) |
| 143 | "Open a network login connection to host named HOST (a string). | 144 | "Open a network login connection to host named HOST (a string). |
| 144 | Communication with HOST is recorded in a buffer *HOST-telnet*. | 145 | Communication with HOST is recorded in a buffer *HOST-telnet*. |
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index c56a3eb10c6..33b716d8120 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el | |||
| @@ -51,6 +51,7 @@ in the file it applies to.") | |||
| 51 | (setq minor-mode-alist (append minor-mode-alist | 51 | (setq minor-mode-alist (append minor-mode-alist |
| 52 | (list '(outline-minor-mode " Outl")))) | 52 | (list '(outline-minor-mode " Outl")))) |
| 53 | 53 | ||
| 54 | ;;;###autoload | ||
| 54 | (defun outline-mode () | 55 | (defun outline-mode () |
| 55 | "Set major mode for editing outlines with selective display. | 56 | "Set major mode for editing outlines with selective display. |
| 56 | Headings are lines which start with asterisks: one for major headings, | 57 | Headings are lines which start with asterisks: one for major headings, |
diff --git a/lisp/textmodes/scribe.el b/lisp/textmodes/scribe.el index 48002bd4029..6dbbb790292 100644 --- a/lisp/textmodes/scribe.el +++ b/lisp/textmodes/scribe.el | |||
| @@ -86,6 +86,7 @@ scribe-open-parenthesis.") | |||
| 86 | (define-key scribe-mode-map "\^cb" 'scribe-bold-word) | 86 | (define-key scribe-mode-map "\^cb" 'scribe-bold-word) |
| 87 | (define-key scribe-mode-map "\^cu" 'scribe-underline-word)) | 87 | (define-key scribe-mode-map "\^cu" 'scribe-underline-word)) |
| 88 | 88 | ||
| 89 | ;;;###autoload | ||
| 89 | (defun scribe-mode () | 90 | (defun scribe-mode () |
| 90 | "Major mode for editing files of Scribe (a text formatter) source. | 91 | "Major mode for editing files of Scribe (a text formatter) source. |
| 91 | Scribe-mode is similar text-mode, with a few extra commands added. | 92 | Scribe-mode is similar text-mode, with a few extra commands added. |
diff --git a/lisp/textmodes/spell.el b/lisp/textmodes/spell.el index d7cd286141b..b3157f3c1b1 100644 --- a/lisp/textmodes/spell.el +++ b/lisp/textmodes/spell.el | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | This function might remove text-processor commands. | 26 | This function might remove text-processor commands. |
| 27 | nil means don't alter the text before checking it.") | 27 | nil means don't alter the text before checking it.") |
| 28 | 28 | ||
| 29 | ;;;###autoload | ||
| 29 | (defun spell-buffer () | 30 | (defun spell-buffer () |
| 30 | "Check spelling of every word in the buffer. | 31 | "Check spelling of every word in the buffer. |
| 31 | For each incorrect word, you are asked for the correct spelling | 32 | For each incorrect word, you are asked for the correct spelling |
| @@ -35,6 +36,7 @@ as its \"correct\" spelling; then the query replace is skipped." | |||
| 35 | (interactive) | 36 | (interactive) |
| 36 | (spell-region (point-min) (point-max) "buffer")) | 37 | (spell-region (point-min) (point-max) "buffer")) |
| 37 | 38 | ||
| 39 | ;;;###autoload | ||
| 38 | (defun spell-word () | 40 | (defun spell-word () |
| 39 | "Check spelling of word at or before point. | 41 | "Check spelling of word at or before point. |
| 40 | If it is not correct, ask user for the correct spelling | 42 | If it is not correct, ask user for the correct spelling |
| @@ -49,6 +51,7 @@ and query-replace the entire buffer to substitute it." | |||
| 49 | (setq end (point))) | 51 | (setq end (point))) |
| 50 | (spell-region beg end (buffer-substring beg end)))) | 52 | (spell-region beg end (buffer-substring beg end)))) |
| 51 | 53 | ||
| 54 | ;;;###autoload | ||
| 52 | (defun spell-region (start end &optional description) | 55 | (defun spell-region (start end &optional description) |
| 53 | "Like spell-buffer but applies only to region. | 56 | "Like spell-buffer but applies only to region. |
| 54 | Used in a program, applies from START to END. | 57 | Used in a program, applies from START to END. |
| @@ -110,6 +113,7 @@ for example, \"word\"." | |||
| 110 | newword))))))) | 113 | newword))))))) |
| 111 | 114 | ||
| 112 | 115 | ||
| 116 | ;;;###autoload | ||
| 113 | (defun spell-string (string) | 117 | (defun spell-string (string) |
| 114 | "Check spelling of string supplied as argument." | 118 | "Check spelling of string supplied as argument." |
| 115 | (interactive "sSpell string: ") | 119 | (interactive "sSpell string: ") |
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 07b2c9136f6..7d38045eb8c 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -53,6 +53,7 @@ | |||
| 53 | (modify-syntax-entry ?} "){" texinfo-format-syntax-table) | 53 | (modify-syntax-entry ?} "){" texinfo-format-syntax-table) |
| 54 | (modify-syntax-entry ?\' "." texinfo-format-syntax-table)) | 54 | (modify-syntax-entry ?\' "." texinfo-format-syntax-table)) |
| 55 | 55 | ||
| 56 | ;;;###autoload | ||
| 56 | (defun texinfo-format-buffer (&optional notagify) | 57 | (defun texinfo-format-buffer (&optional notagify) |
| 57 | "Process the current buffer as texinfo code, into an Info file. | 58 | "Process the current buffer as texinfo code, into an Info file. |
| 58 | The Info file output is generated in a buffer visiting the Info file | 59 | The Info file output is generated in a buffer visiting the Info file |
| @@ -132,6 +133,7 @@ Info-split to do these manually." | |||
| 132 | (defvar texinfo-region-buffer-name "*Info Region*" | 133 | (defvar texinfo-region-buffer-name "*Info Region*" |
| 133 | "*Name of the temporary buffer used by \\[texinfo-format-region].") | 134 | "*Name of the temporary buffer used by \\[texinfo-format-region].") |
| 134 | 135 | ||
| 136 | ;;;###autoload | ||
| 135 | (defun texinfo-format-region (region-beginning region-ending) | 137 | (defun texinfo-format-region (region-beginning region-ending) |
| 136 | "Convert the current region of the Texinfo file to Info format. | 138 | "Convert the current region of the Texinfo file to Info format. |
| 137 | This lets you see what that part of the file will look like in Info. | 139 | This lets you see what that part of the file will look like in Info. |
| @@ -1757,6 +1759,7 @@ If used within a line, follow `@minus' with braces." | |||
| 1757 | (error "%s is not handled by texinfo" | 1759 | (error "%s is not handled by texinfo" |
| 1758 | (buffer-substring texinfo-command-start texinfo-command-end))) | 1760 | (buffer-substring texinfo-command-start texinfo-command-end))) |
| 1759 | 1761 | ||
| 1762 | ;;;###autoload | ||
| 1760 | (defun batch-texinfo-format () | 1763 | (defun batch-texinfo-format () |
| 1761 | "Runs texinfo-format-buffer on the files remaining on the command line. | 1764 | "Runs texinfo-format-buffer on the files remaining on the command line. |
| 1762 | Must be used only with -batch, and kills emacs on completion. | 1765 | Must be used only with -batch, and kills emacs on completion. |
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index ebe0769a71c..9a7192ac673 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -147,6 +147,7 @@ Use \\[up-list] to move forward out of the braces." | |||
| 147 | (insert "{}") | 147 | (insert "{}") |
| 148 | (backward-char)) | 148 | (backward-char)) |
| 149 | 149 | ||
| 150 | ;;;###autoload | ||
| 150 | (defun texinfo-mode () | 151 | (defun texinfo-mode () |
| 151 | "Major mode for editing Texinfo files. | 152 | "Major mode for editing Texinfo files. |
| 152 | 153 | ||
diff --git a/lisp/textmodes/underline.el b/lisp/textmodes/underline.el index 4a9f3dfa823..89edcfefe34 100644 --- a/lisp/textmodes/underline.el +++ b/lisp/textmodes/underline.el | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | ;;;###autoload | ||
| 21 | (defun underline-region (start end) | 22 | (defun underline-region (start end) |
| 22 | "Underline all nonblank characters in the region. | 23 | "Underline all nonblank characters in the region. |
| 23 | Works by overstriking underscores. | 24 | Works by overstriking underscores. |
| @@ -33,6 +34,7 @@ which specify the range to operate on." | |||
| 33 | (insert "_")) | 34 | (insert "_")) |
| 34 | (forward-char 1))))) | 35 | (forward-char 1))))) |
| 35 | 36 | ||
| 37 | ;;;###autoload | ||
| 36 | (defun ununderline-region (start end) | 38 | (defun ununderline-region (start end) |
| 37 | "Remove all underlining (overstruck underscores) in the region. | 39 | "Remove all underlining (overstruck underscores) in the region. |
| 38 | Called from program, takes two arguments START and END | 40 | Called from program, takes two arguments START and END |
diff --git a/lisp/userlock.el b/lisp/userlock.el index e74621675a2..5866b03c67b 100644 --- a/lisp/userlock.el +++ b/lisp/userlock.el | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | (put 'file-locked 'error-conditions '(file-locked file-error error)) | 26 | (put 'file-locked 'error-conditions '(file-locked file-error error)) |
| 27 | 27 | ||
| 28 | ;;;###autoload | ||
| 28 | (defun ask-user-about-lock (fn opponent) | 29 | (defun ask-user-about-lock (fn opponent) |
| 29 | "Ask user what to do when he wants to edit FILE but it is locked by USER. | 30 | "Ask user what to do when he wants to edit FILE but it is locked by USER. |
| 30 | This function has a choice of three things to do: | 31 | This function has a choice of three things to do: |
| @@ -73,6 +74,7 @@ You can <q>uit; don't modify this file."))) | |||
| 73 | (put | 74 | (put |
| 74 | 'file-supersession 'error-conditions '(file-supersession file-error error)) | 75 | 'file-supersession 'error-conditions '(file-supersession file-error error)) |
| 75 | 76 | ||
| 77 | ;;;###autoload | ||
| 76 | (defun ask-user-about-supersession-threat (fn) | 78 | (defun ask-user-about-supersession-threat (fn) |
| 77 | "Ask a user who is about to modify an obsolete buffer what to do. | 79 | "Ask a user who is about to modify an obsolete buffer what to do. |
| 78 | This function has two choices: it can return, in which case the modification | 80 | This function has two choices: it can return, in which case the modification |
diff --git a/lisp/xscheme.el b/lisp/xscheme.el index 8a281cd0cf9..0fb795dea2d 100644 --- a/lisp/xscheme.el +++ b/lisp/xscheme.el | |||
| @@ -69,6 +69,7 @@ Is processed with `substitute-command-keys' first.") | |||
| 69 | (xscheme-evaluation-commands scheme-mode-map) | 69 | (xscheme-evaluation-commands scheme-mode-map) |
| 70 | (xscheme-interrupt-commands scheme-mode-map) | 70 | (xscheme-interrupt-commands scheme-mode-map) |
| 71 | 71 | ||
| 72 | ;;;###autoload | ||
| 72 | (defun run-scheme (command-line) | 73 | (defun run-scheme (command-line) |
| 73 | "Run an inferior Scheme process. | 74 | "Run an inferior Scheme process. |
| 74 | Output goes to the buffer `*scheme*'. | 75 | Output goes to the buffer `*scheme*'. |