diff options
author | Sam Steingold <[email protected]> | 2000-11-22 20:59:39 +0000 |
---|---|---|
committer | Sam Steingold <[email protected]> | 2000-11-22 20:59:39 +0000 |
commit | eaae8106d7be3d9ffa8e53bb5621d4dab118d5a9 (patch) | |
tree | 60d24d128cca769f4c87de86a7c1383be6e5f07d /lisp/textmodes/two-column.el | |
parent | e053c60feb7ba152ddff83eff0a4e9f3c9c3efe6 (diff) |
* simple.el (delete-trailing-whitespace): New interactive function.
* progmodes/ada-mode.el (ada-mode): Use it instead of
`ada-remove-trailing-spaces'
(ada-remove-trailing-spaces): Removed.
* textmodes/two-column.el (2C-merge): Recommend it in the doc.
* textmodes/picture.el (picture-mode-exit): Call it instead of
`picture-clean'.
(picture-clean): Removed.
Diffstat (limited to 'lisp/textmodes/two-column.el')
-rw-r--r-- | lisp/textmodes/two-column.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el index 08b7c3c828..a4c965a696 100644 --- a/lisp/textmodes/two-column.el +++ b/lisp/textmodes/two-column.el @@ -363,7 +363,7 @@ first and the associated buffer to its right." (generate-new-buffer (concat "2C/" (buffer-name))))) (or buffer (run-hooks '2C-other-buffer-hook)))) - + (2C-mode (prog1 (point-marker) (other-window -1))))) @@ -503,7 +503,7 @@ this one, then this one becomes the left column. If you want `2C-separator' on empty lines in the second column, you should put just one space in them. In the final result, you can strip -off trailing spaces with \\[beginning-of-buffer] \\[replace-regexp] [ SPC TAB ] + $ RET RET" +off trailing spaces with \\[delete-trailing-whitespace]." (interactive) (and (> (car (window-edges)) 0) ; not touching left edge of screen (eq (window-buffer (previous-window)) |