summaryrefslogtreecommitdiff
path: root/lisp/vc-hooks.el
Commit message (Collapse)AuthorAgeFilesLines
* (vc-path): Make it an obsolete var, rather than function.Stefan Monnier2010-02-021-1/+1
|
* (vc-path): Mark as obsolete.Dan Nicolaescu2010-01-251-0/+2
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * net/eudc.el (eudc-tools-menu):Dan Nicolaescu2009-11-111-3/+3
| | | | | | | * international/mule-cmds.el (set-coding-system-map) (mule-menu-keymap): * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): * vc-hooks.el (vc-menu-map): Use menu-bar-separator.
* * progmodes/ld-script.el (auto-mode-alist):Dan Nicolaescu2009-11-061-2/+2
| | | | | | * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings. * cus-face.el (custom-declare-face): Purecopy face spec.
* Convert comment about autoload into autoload comment.Glenn Morris2009-10-241-2/+2
| | | | (vc-responsible-backend): Fix declaration.
* * puresize.h (BASE_PURESIZE): Increase to 1430000.Dan Nicolaescu2009-10-231-36/+36
| | | | | | | | | | | | | | | | | | | | | | * term/tty-colors.el (msdos-color-values): Remove declaration, unused. (color-name-rgb-alist, tty-standard-colors) (tty-color-mode-alist): Change to defconst. * simple.el (mark-inactive): Purecopy message. * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro. (global-map, yank-menu): * textmodes/ispell.el (ispell-menu-map): * net/eudc.el (eudc-tools-menu): * international/mule-cmds.el (describe-language-environment-map) (setup-language-environment-map, set-coding-system-map) (mule-menu-keymap): * vc-hooks.el (vc-menu-entry, vc-menu-map): * replace.el (occur-mode-map): * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips. * bindings.el (propertized-buffer-identification): Purecopy tooltip text.
* * vc-hooks.el (vc-dir-buffers): New var.Stefan Monnier2009-09-291-11/+16
| | | | | | | | | | | | | (vc-state-refresh): New function. (vc-state): Use it. (vc-after-save): Always ask the backend to recompute the new state. Always call vc-dir if necessary, using vc-dir-buffers. * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file): Use vc-dir-buffers. (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook. (vc-dir-prepare-status-buffer, vc-dir-update) (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode): Don't call expand-file-name on default-directory.
* Fix typos.Juanma Barranquero2009-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allout.el * dired-aux.el * dired-x.el * epa-file.el * ps-print.el * shell.el * vc-hooks.el * vc-rcs.el * vc-sccs.el * vc.el * view.el * wdired.el * emacs-lisp/authors.el * net/dig.el * net/socks.el * net/zeroconf.el * obsolete/vc-mcvs.el * progmodes/gdb-mi.el * progmodes/grep.el * progmodes/idlw-help.el * progmodes/idlw-shell.el * progmodes/idlwave.el * progmodes/inf-lisp.el * textmodes/bibtex.el * textmodes/ispell.el * textmodes/reftex-toc.el
* * vc.el (top): print-log method now takes an optional SHORTLOGDan Nicolaescu2009-09-141-0/+8
| | | | | | | | | | | | | | | | | | | argument. Add a new method: root. * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for vc-print-root-log and vc-print-root-diff. * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log): * vc-git.el (vc-git-print-log, vc-git-log-view-mode): * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for short logs. * vc-cvs.el (vc-cvs-print-log): * vc-mtn.el (vc-mtn-print-log): * vc-rcs.el (vc-rcs-print-log): * vc-sccs.el (vc-sccs-print-log): * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog that is ignored for now.
* Define risky-local-variable property here rather than in files.el.Glenn Morris2009-08-261-1/+4
|
* * vc-hooks.el (vc-user-login-name):Michael Albinus2009-08-251-1/+2
| | | | Let-bind `process-file-side-effects' with nil.
* Remove find-file-not-found-hook VC method. (Bug#2757)Dan Nicolaescu2009-06-261-21/+0
| | | | | | | | | | * vc-hooks.el (vc-file-not-found-hook) (vc-default-find-file-not-found-hook): Remove functions. (find-file-not-found-functions): Do not add vc-file-not-found-hook. * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function. * vc.el: * vc-hg.el: * vc-git.el: Do not mention find-file-not-found-hook VC method.
* * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):Dan Nicolaescu2009-06-231-36/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an optional argument for the backend, use it instead of calling vc-backend. (vc-mode-line): Add an optional argument for the backend. Pass the backend to vc-state and vc-working-revision. Move code for special handling for vc-state being a buffer to ... * vc-rcs.el (vc-rcs-find-file-hook): * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions. * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout) (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state, vc-stay-local-p and vc-mode-line calls. * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log) (vc-cvs-diff, vc-cvs-annotate-command) (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p) (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and vc-mode-line calls. * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of direct comparison. (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the backend when calling vc-mode-line. (vc-register): Do not create a closure for calling the vc register function, call it directly.
* (vc-name): Avoid calling vc-backend twice.Dan Nicolaescu2009-04-011-79/+82
| | | | | | | | (vc-mode-line): Accept and use an optional argument for the backend. (vc-find-file-hook): Use when instead of if. Avoid calling vc-backend multiple times, pass down the value computed the first time.
* (vc-stay-local-p): Let vc-BACKEND-stay-local takeNick Roberts2009-01-301-2/+1
| | | | precedence even when it's value is t.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Correctt speling.Chong Yidong2008-12-031-1/+1
|
* (vc-follow-link): Complete last change.Stefan Monnier2008-11-231-1/+1
|
* (vc-follow-link, vc-find-file-hook):Stefan Monnier2008-11-221-4/+3
| | | | Use buffer-file-truename to handle symlinks in any part of the filename.
* (vc-find-root): Remove bogus alias.Glenn Morris2008-10-291-2/+0
|
* (vc-stay-local): Fix typo in choice.Martin Rudalics2008-10-281-2/+2
|
* * files.el (locate-dominating-stop-dir-regexp): New var.Stefan Monnier2008-10-251-30/+8
| | | | | | | | | | | | | | (locate-dominating-file): Change arg from a regexp to a file name. Rewrite using the vc-find-root code to avoid directory-files which is too slow. Obey locate-dominating-stop-dir-regexp. Don't pay attention to changes in owner. (project-find-settings-file): Adjust call to locate-dominating-file. * progmodes/flymake.el (flymake-find-buildfile): Adjust call to locate-dominating-file. * vc-hooks.el (vc-find-root): Use locate-dominating-file. (vc-ignore-dir-regexp): Use locate-dominating-stop-dir-regexp.
* * vc-hooks.el (vc-stay-local): Add a new choice and default to it.Dan Nicolaescu2008-10-131-3/+9
| | | | | | | | * vc-cvs.el (vc-cvs-dir-stay-local): Remove. (vc-cvs-stay-local): Add a new choice and default to it. (vc-cvs-dir-status): Use the new vc-stay-local choice. * vc-svn.el (vc-svn-dir-status): Use the new vc-stay-local choice.
* * vc-hooks.el (vc-file-clearprops): Revert change from 2008-09-29.Michael Albinus2008-09-301-7/+7
| | | | | | | | (vc-file-not-found-hook): Check, that `buffer-file-name' is non-nil. It is not clear, whether this is only fixing symptoms on an error. OTOH, in all other cases, the call of `vc-file-clearprops' is embedded by that check. So it might be TRT. Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
* * vc-hooks.el (vc-file-clearprops): Check, that FILE is a string.Michael Albinus2008-09-291-1/+4
|
* * vc-svn.el (vc-svn-root):Stefan Monnier2008-09-071-10/+3
| | | | | | | * vc-sccs.el (vc-sccs-root): * vc-rcs.el (vc-rcs-root): * vc-cvs.el (vc-cvs-root): Delete. * vc-hooks.el (vc-find-root): Remove `invert' argument.
* (vc-previous-version): Move alias to vc.el.Glenn Morris2008-09-011-2/+0
|
* (vc-workfile-unchanged-p): Revert last change.Chong Yidong2008-08-281-7/+10
|
* (vc-workfile-unchanged-p): If the checkout time is not the same as theChong Yidong2008-08-271-6/+6
| | | | last modification time, fall back on the backend-specific check.
* Remove obsolete comment.Dan Nicolaescu2008-07-221-17/+0
|
* * vc.el:Dan Nicolaescu2008-06-221-1/+1
| | | | | | | * vc-hooks.el: * vc-dispatcher.el: Move vc-dir variables and functions ... * vc-dir.el: ... here. New file. * Makefile.in (ELCFILES): Add vc-dir.elc.
* * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...Dan Nicolaescu2008-05-271-8/+8
| | | | | | | | | | (vc-dir-resynch-file): ... this. Update callers. Use vc-string-prefix-p. Ignore directory args. (vc-string-prefix-p): CSE. (vc-resynch-buffer): Restore conditional. * vc-hooks.el (vc-after-save): Improve test. (vc-mode-line): Fix indentation.
* Snapshot primitives globally renamed to refer to tags, documentation updated.Eric S. Raymond2008-05-151-8/+8
|
* (vc-directory-resynch-file): Fix declaration.Glenn Morris2008-05-151-1/+1
|
* Remove dead code.Eric S. Raymond2008-05-111-10/+3
|
* (vc-prefix-map): Remove duplicate binding.Dan Nicolaescu2008-05-101-1/+0
|
* VC directory bindings are noew documented.Eric S. Raymond2008-05-091-2/+1
|
* * vc.el (vc-mark-resolved): Add `backend' argument.Stefan Monnier2008-05-091-12/+15
| | | | | | | | | | | | | | | (vc-next-action): Pass it the backend. (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff) (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file) (vc-default-comment-history, vc-default-create-snapshot) (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate) (vc-annotate-revision-previous-to-line) (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision): * vc-svn.el (vc-svn-checkout): * vc-mcvs.el (vc-mcvs-checkout): * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p) (vc-working-revision, vc-before-save, vc-mode-line): Prefer vc-call-backend to vc-call so as not to recompute the backend.
* Fix comment typo in previous.Glenn Morris2008-05-081-1/+1
|
* Meta-CVS support removed.Eric S. Raymond2008-05-071-2/+3
|
* Remove VC-Dired and backend dir-state methods.Eric S. Raymond2008-05-071-1/+1
|
* Cleanup preparatory to getting rid of dired.Eric S. Raymond2008-05-061-1/+1
|
* More decoupling of vc-dispatcher.el from vc.el.Eric S. Raymond2008-05-061-0/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Clean up vc*-revision-granularity and vc*-checkout-model.Eric S. Raymond2008-05-021-2/+2
|
* (vc-call, vc-state): Fix typos in docstrings.Juanma Barranquero2008-05-021-8/+7
| | | | (vc-default-state-heuristic): Doc fix.
* More preparation for removing dired.Eric S. Raymond2008-05-021-2/+2
|
* The day wehen vc-toggle-ready-only was a good idea is long gone.Eric S. Raymond2008-05-021-12/+10
|
* Change 'needs-patch to 'needs-update.Eric S. Raymond2008-05-011-9/+4
|