X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8546720e6f25eb988e8215de6678798053031440..50650cb6887d99b01eeb1e686fc1f695c2a0c64a:/lisp/cedet/cedet-cscope.el diff --git a/lisp/cedet/cedet-cscope.el b/lisp/cedet/cedet-cscope.el index 74892533ab..373149c16e 100644 --- a/lisp/cedet/cedet-cscope.el +++ b/lisp/cedet/cedet-cscope.el @@ -1,6 +1,6 @@ ;;; cedet-cscope.el --- CScope support for CEDET -;;; Copyright (C) 2009-2011 Free Software Foundation, Inc. +;;; Copyright (C) 2009-2016 Free Software Foundation, Inc. ;; Author: Eric M. Ludlam ;; Package: cedet @@ -28,7 +28,7 @@ (declare-function inversion-check-version "inversion") -(defvar cedet-cscope-min-version "16.0" +(defvar cedet-cscope-min-version "15.7" "Minimum version of CScope required.") (defcustom cedet-cscope-command "cscope" @@ -52,7 +52,7 @@ SCOPE is the scope of the search, such as 'project or 'subdirs." ;; -0 = Find C symbol ;; -1 = Find global definition ;; -3 = Find references - ;; -6 = Find egrep pattern + ;; -6 = Find grep -E pattern ;; -7 = Find file (let ((idx (cond ((eq type 'file) "-7") @@ -135,8 +135,8 @@ the error code." (defun cedet-cscope-version-check (&optional noerror) "Check the version of the installed CScope command. -If optional programatic argument NOERROR is non-nil, then -instead of throwing an error if CScope isn't available, then +If optional programmatic argument NOERROR is non-nil, +then instead of throwing an error if CScope isn't available, return nil." (interactive) (require 'inversion)