Variable: cvs-mode-hook

cvs-mode-hook is a variable defined in pcvs.el.gz.

Value

nil

Documentation

Run after cvs-mode was setup.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/pcvs.el.gz
(define-derived-mode cvs-mode nil "CVS"
  "Mode used for PCL-CVS, a frontend to CVS.
Full documentation is in the Texinfo file."
  (setq mode-line-process
	'("" cvs-force-command cvs-ignore-marks-modif
	  ":" (cvs-branch-prefix
	       ("" cvs-branch-prefix (cvs-secondary-branch-prefix
				      ("->" cvs-secondary-branch-prefix))))
	  " " cvs-mode-line-process))
  (if buffer-file-name
      (error (substitute-command-keys
              "Use \\[cvs-quickdir] to get a *cvs* buffer")))
  (buffer-disable-undo)
  ;;(setq-local goal-column cvs-cursor-column)
  (setq-local revert-buffer-function 'cvs-mode-revert-buffer)
  (setq truncate-lines t)
  (cvs-prefix-make-local 'cvs-branch-prefix)
  (cvs-prefix-make-local 'cvs-secondary-branch-prefix)
  (cvs-prefix-make-local 'cvs-force-command)
  (cvs-prefix-make-local 'cvs-ignore-marks-modif)
  (make-local-variable 'cvs-mode-line-process)
  (make-local-variable 'cvs-temp-buffers))