]> git.eshelyaron.com Git - emacs.git/commitdiff
Use lexical-binding in pcmpl-cvs.el
authorStefan Kangas <stefan@marxist.se>
Tue, 3 Nov 2020 01:06:05 +0000 (02:06 +0100)
committerStefan Kangas <stefan@marxist.se>
Tue, 3 Nov 2020 01:11:19 +0000 (02:11 +0100)
* lisp/pcmpl-cvs.el: Use lexical-binding.
(executable): Remove unnecessary require.
(pcmpl-cvs-binary): Remove redundant :group arg.
(pcmpl-cvs-tags): Quote function symbol as such.

lisp/pcmpl-cvs.el

index 1b49b297e42cbc6d281d4d7cea8a2d2c2912e1bc..13f3093c218d85b68c2b70b7a88e472884fb1f3d 100644 (file)
@@ -1,4 +1,4 @@
-;;; pcmpl-cvs.el --- functions for dealing with cvs completions
+;;; pcmpl-cvs.el --- functions for dealing with cvs completions  -*- lexical-binding: t -*-
 
 ;; Copyright (C) 1999-2020 Free Software Foundation, Inc.
 
@@ -29,7 +29,6 @@
 (provide 'pcmpl-cvs)
 
 (require 'pcomplete)
-(require 'executable)
 
 (defgroup pcmpl-cvs nil
   "Functions for dealing with CVS completions."
@@ -39,8 +38,7 @@
 
 (defcustom pcmpl-cvs-binary (or (executable-find "cvs") "cvs")
   "The full path of the `cvs' binary."
-  :type 'file
-  :group 'pcmpl-cvs)
+  :type 'file)
 
 ;; Functions:
 
   (let ((entries (pcmpl-cvs-entries opers))
        tags)
     (with-temp-buffer
-      (apply 'call-process pcmpl-cvs-binary nil t nil
+      (apply #'call-process pcmpl-cvs-binary nil t nil
             "status" "-v" entries)
       (goto-char (point-min))
       (while (re-search-forward "Existing Tags:" nil t)