diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-09-21 08:46:34 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-09-21 08:46:34 +0000 |
commit | 3c7e019df0fe2a442ec2aafe598ed865f6937eea (patch) | |
tree | 06596c0042bf5da75bc9221ece45f564dce97fc9 /dev-util/cscope/files | |
parent | Adding the mapserver-5.0.0 ebuild for the foss4g 2007. (diff) | |
download | gentoo-2-3c7e019df0fe2a442ec2aafe598ed865f6937eea.tar.gz gentoo-2-3c7e019df0fe2a442ec2aafe598ed865f6937eea.tar.bz2 gentoo-2-3c7e019df0fe2a442ec2aafe598ed865f6937eea.zip |
Use autoload for Emacs files (#174469). Other minor fixes.
(Portage version: 2.1.3.9)
Diffstat (limited to 'dev-util/cscope/files')
-rw-r--r-- | dev-util/cscope/files/50cscope-gentoo.el | 37 | ||||
-rw-r--r-- | dev-util/cscope/files/digest-cscope-15.6-r2 | 3 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/cscope/files/50cscope-gentoo.el b/dev-util/cscope/files/50cscope-gentoo.el new file mode 100644 index 000000000000..bfb13da9f974 --- /dev/null +++ b/dev-util/cscope/files/50cscope-gentoo.el @@ -0,0 +1,37 @@ + +;;; cscope site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") + +(autoload 'cscope-minor-mode "xcscope") +(autoload 'cscope-display-buffer "xcscope" + "Display the *cscope* buffer." t) +(autoload 'cscope-display-buffer-toggle "xcscope" + "Toggle cscope-display-cscope-buffer, which corresponds to +\"Auto display *cscope* buffer\"." t) +(autoload 'cscope-next-symbol "xcscope" + "Move to the next symbol in the *cscope* buffer." t) +(autoload 'cscope-next-file "xcscope" + "Move to the next file in the *cscope* buffer." t) +(autoload 'cscope-prev-symbol "xcscope" + "Move to the previous symbol in the *cscope* buffer." t) +(autoload 'cscope-prev-file "xcscope" + "Move to the previous file in the *cscope* buffer." t) +(autoload 'cscope-pop-mark "xcscope" + "Pop back to where cscope was last invoked." t) +(autoload 'cscope-set-initial-directory "xcscope" + "Set the cscope-initial-directory variable." t) +(autoload 'cscope-unset-initial-directory "xcscope" + "Unset the cscope-initial-directory variable." t) +(autoload 'cscope-find-this-symbol "xcscope" + "Locate a symbol in source code." t) +(autoload 'cscope-find-global-definition "xcscope" + "Find a symbol's global definition." t) +(autoload 'cscope-find-global-definition-no-prompting "xcscope" + "Find a symbol's global definition without prompting." t) + +(defun cscope:hook () + (cscope-minor-mode)) +(add-hook 'c-mode-hook 'cscope:hook) +(add-hook 'c++-mode-hook 'cscope:hook) +(add-hook 'dired-mode-hook 'cscope:hook) diff --git a/dev-util/cscope/files/digest-cscope-15.6-r2 b/dev-util/cscope/files/digest-cscope-15.6-r2 new file mode 100644 index 000000000000..01c0b5205907 --- /dev/null +++ b/dev-util/cscope/files/digest-cscope-15.6-r2 @@ -0,0 +1,3 @@ +MD5 db87833f90d8267b1fc0c419cfc4d219 cscope-15.6.tar.gz 391223 +RMD160 b93238d3c91782d032e028abcfde3c2a7491a9c9 cscope-15.6.tar.gz 391223 +SHA256 6d6461ef402a1d6e42e1cd40e7524c4ed19e79eacef1d83ba4ed680f7bcac5ca cscope-15.6.tar.gz 391223 |