diff options
| author | Richard M. Stallman | 1997-04-20 01:30:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-04-20 01:30:13 +0000 |
| commit | 22c3935a338e4939556a78ea7434e7dc4a7bb7af (patch) | |
| tree | 391cda959fe53151c6b87be322a7d68da8756e9e | |
| parent | 2c5d387c637092bc6baf1a5fce97721b52b810a9 (diff) | |
| download | emacs-22c3935a338e4939556a78ea7434e7dc4a7bb7af.tar.gz emacs-22c3935a338e4939556a78ea7434e7dc4a7bb7af.zip | |
Fix previous change.
| -rw-r--r-- | lisp/simple.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 003c50d9639..f77de7427fd 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1635,7 +1635,7 @@ and it reactivates the mark." | |||
| 1635 | (goto-char omark) | 1635 | (goto-char omark) |
| 1636 | nil)) | 1636 | nil)) |
| 1637 | 1637 | ||
| 1638 | (defun transient-mark-mode (arg &optional print-message) | 1638 | (defun transient-mark-mode (arg) |
| 1639 | "Toggle Transient Mark mode. | 1639 | "Toggle Transient Mark mode. |
| 1640 | With arg, turn Transient Mark mode on if arg is positive, off otherwise. | 1640 | With arg, turn Transient Mark mode on if arg is positive, off otherwise. |
| 1641 | 1641 | ||
| @@ -1644,14 +1644,15 @@ Changing the buffer \"deactivates\" the mark. | |||
| 1644 | So do certain other operations that set the mark | 1644 | So do certain other operations that set the mark |
| 1645 | but whose main purpose is something else--for example, | 1645 | but whose main purpose is something else--for example, |
| 1646 | incremental search, \\[beginning-of-buffer], and \\[end-of-buffer]." | 1646 | incremental search, \\[beginning-of-buffer], and \\[end-of-buffer]." |
| 1647 | (interactive "P\np") | 1647 | (interactive "P") |
| 1648 | (setq transient-mark-mode | 1648 | (setq transient-mark-mode |
| 1649 | (if (null arg) | 1649 | (if (null arg) |
| 1650 | (not transient-mark-mode) | 1650 | (not transient-mark-mode) |
| 1651 | (> (prefix-numeric-value arg) 0))) | 1651 | (> (prefix-numeric-value arg) 0))) |
| 1652 | (if transient-mark-mode | 1652 | (if (interactive-p) |
| 1653 | (message "Transient Mark mode enabled") | 1653 | (if transient-mark-mode |
| 1654 | (message "Transient Mark mode disabled"))) | 1654 | (message "Transient Mark mode enabled") |
| 1655 | (message "Transient Mark mode disabled")))) | ||
| 1655 | 1656 | ||
| 1656 | (defun pop-global-mark () | 1657 | (defun pop-global-mark () |
| 1657 | "Pop off global mark ring and jump to the top location." | 1658 | "Pop off global mark ring and jump to the top location." |