diff options
| author | Dave Love | 2000-05-21 17:33:05 +0000 |
|---|---|---|
| committer | Dave Love | 2000-05-21 17:33:05 +0000 |
| commit | 4e96834374210af47e8559d881de1020b96e4ab4 (patch) | |
| tree | d964c120a4a97a3cd89f78400749e8eb5046d886 | |
| parent | 6a475c995540c653ab9964d864cf088ae66656c6 (diff) | |
| download | emacs-4e96834374210af47e8559d881de1020b96e4ab4.tar.gz emacs-4e96834374210af47e8559d881de1020b96e4ab4.zip | |
(brief-mode): New alias.
| -rw-r--r-- | lisp/emulation/crisp.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emulation/crisp.el b/lisp/emulation/crisp.el index 12492de7ebf..13aa47c7667 100644 --- a/lisp/emulation/crisp.el +++ b/lisp/emulation/crisp.el | |||
| @@ -351,7 +351,7 @@ normal CRiSP binding) and when it is nil M-x will run | |||
| 351 | 351 | ||
| 352 | ;;;###autoload | 352 | ;;;###autoload |
| 353 | (defun crisp-mode (&optional arg) | 353 | (defun crisp-mode (&optional arg) |
| 354 | "Toggle CRiSP emulation minor mode. | 354 | "Toggle CRiSP/Brief emulation minor mode. |
| 355 | With ARG, turn CRiSP mode on if ARG is positive, off otherwise." | 355 | With ARG, turn CRiSP mode on if ARG is positive, off otherwise." |
| 356 | (interactive "P") | 356 | (interactive "P") |
| 357 | (setq crisp-mode (if (null arg) | 357 | (setq crisp-mode (if (null arg) |
| @@ -371,6 +371,10 @@ With ARG, turn CRiSP mode on if ARG is positive, off otherwise." | |||
| 371 | (define-key crisp-mode-map [(meta f1)] 'scroll-all-mode)) | 371 | (define-key crisp-mode-map [(meta f1)] 'scroll-all-mode)) |
| 372 | (run-hooks 'crisp-mode-hook))) | 372 | (run-hooks 'crisp-mode-hook))) |
| 373 | 373 | ||
| 374 | ;; People might use Apropos on `brief'. | ||
| 375 | ;;;###autoload | ||
| 376 | (defalias 'brief-mode 'crisp-mode) | ||
| 377 | |||
| 374 | (if (fboundp 'add-minor-mode) | 378 | (if (fboundp 'add-minor-mode) |
| 375 | (add-minor-mode 'crisp-mode 'crisp-mode-modeline-string | 379 | (add-minor-mode 'crisp-mode 'crisp-mode-modeline-string |
| 376 | crisp-mode-map nil 'crisp-mode) | 380 | crisp-mode-map nil 'crisp-mode) |