diff options
| author | Juanma Barranquero | 2005-06-14 15:20:05 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-06-14 15:20:05 +0000 |
| commit | e248903c199b4d2f93029f743119c054c5565ac3 (patch) | |
| tree | d45d313f77aa45c2d92d3a03528c60717461138b | |
| parent | 90d7908eb77b22c40c0038b6ceb1d563a8cb2766 (diff) | |
| download | emacs-e248903c199b4d2f93029f743119c054c5565ac3.tar.gz emacs-e248903c199b4d2f93029f743119c054c5565ac3.zip | |
(cvs-mode): Follow error conventions.
| -rw-r--r-- | lisp/pcvs.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/pcvs.el b/lisp/pcvs.el index adcbba2792b..be93104a33f 100644 --- a/lisp/pcvs.el +++ b/lisp/pcvs.el | |||
| @@ -944,9 +944,9 @@ With a prefix argument, prompt for cvs FLAGS to use." | |||
| 944 | (defun-cvs-mode (cvs-mode-checkout . NOARGS) (dir) | 944 | (defun-cvs-mode (cvs-mode-checkout . NOARGS) (dir) |
| 945 | "Run cvs checkout against the current branch. | 945 | "Run cvs checkout against the current branch. |
| 946 | The files are stored to DIR." | 946 | The files are stored to DIR." |
| 947 | (interactive | 947 | (interactive |
| 948 | (let* ((branch (cvs-prefix-get 'cvs-branch-prefix)) | 948 | (let* ((branch (cvs-prefix-get 'cvs-branch-prefix)) |
| 949 | (prompt (format "CVS Checkout Directory for `%s%s': " | 949 | (prompt (format "CVS Checkout Directory for `%s%s': " |
| 950 | (cvs-get-module) | 950 | (cvs-get-module) |
| 951 | (if branch (format " (branch: %s)" branch) | 951 | (if branch (format " (branch: %s)" branch) |
| 952 | "")))) | 952 | "")))) |
| @@ -1123,7 +1123,7 @@ Full documentation is in the Texinfo file." | |||
| 1123 | ("->" cvs-secondary-branch-prefix)))) | 1123 | ("->" cvs-secondary-branch-prefix)))) |
| 1124 | " " cvs-mode-line-process)) | 1124 | " " cvs-mode-line-process)) |
| 1125 | (if buffer-file-name | 1125 | (if buffer-file-name |
| 1126 | (error "Use M-x cvs-quickdir to get a *cvs* buffer.")) | 1126 | (error "Use M-x cvs-quickdir to get a *cvs* buffer")) |
| 1127 | (buffer-disable-undo) | 1127 | (buffer-disable-undo) |
| 1128 | ;;(set (make-local-variable 'goal-column) cvs-cursor-column) | 1128 | ;;(set (make-local-variable 'goal-column) cvs-cursor-column) |
| 1129 | (set (make-local-variable 'revert-buffer-function) 'cvs-mode-revert-buffer) | 1129 | (set (make-local-variable 'revert-buffer-function) 'cvs-mode-revert-buffer) |