                   (message "Killing buffer %s" buf-name)
                   (kill-buffer buf))))))))
 
+    ;; Patch
     ;; Use older version of `projectile-cache-current-file' that did not cache
     ;; the true names.
     ;; https://github.com/bbatsov/projectile/commit/924d73120bca6adc5b9bf3d79ad53075a63b5f1e

and the subsequent `find-file' call for the `TAGS' file."
        ))

    (defun projectile-project-name ()
      "Return project name.
If the project root contains \"sos_\" or \"src\", remove the directory basename

    ;; Don't consider my home dir as a project
    (add-to-list 'projectile-ignored-projects `,(concat (getenv "HOME") "/"))

    ;; Patch
    (defun projectile-cache-files-find-file-hook ()
      "Function for caching files with `find-file-hook'."
      (when (and projectile-enable-caching
