Skip to content

Commit

Permalink
Remove some obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Feb 12, 2024
1 parent 1da9c64 commit d7d30c3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,6 @@ When nil Projectile will consider the current directory the project root."
:group 'projectile
:type 'string)

(make-obsolete-variable 'projectile-keymap-prefix "Use (define-key projectile-mode-map (kbd ...) 'projectile-command-map) instead." "2.0.0")

(defcustom projectile-cache-file
(expand-file-name "projectile.cache" user-emacs-directory)
"The name of Projectile's cache file."
Expand Down Expand Up @@ -1468,9 +1466,6 @@ IGNORED-DIRECTORIES may optionally be provided."
(projectile-get-sub-projects-files directory vcs)))
(t (projectile-files-via-ext-command directory (projectile-get-ext-command vcs))))))

(define-obsolete-function-alias 'projectile-dir-files-external 'projectile-dir-files-alien "2.0.0")
(define-obsolete-function-alias 'projectile-get-repo-files 'projectile-dir-files-alien "2.0.0")

(defun projectile-get-ext-command (vcs)
"Determine which external command to invoke based on the project's VCS.
Fallback to a generic command when not in a VCS-controlled project."
Expand Down Expand Up @@ -5994,7 +5989,7 @@ If the current buffer does not belong to a project, call `previous-buffer'."


;;; Projectile Minor mode
(define-obsolete-variable-alias 'projectile-mode-line-lighter 'projectile-mode-line-prefix "0.12.0")

(defcustom projectile-mode-line-prefix
" Projectile"
"Mode line lighter prefix for Projectile.
Expand Down

0 comments on commit d7d30c3

Please sign in to comment.