branch: externals/consult
commit 23023d91c4e1aabbd6dbecc5fcb507e209b56019
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Remove some obsolete code
---
 consult.el | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/consult.el b/consult.el
index 8c10994898..3c2d376c0a 100644
--- a/consult.el
+++ b/consult.el
@@ -78,10 +78,6 @@ The key must be either a string or a vector.
 This is the key representation accepted by `define-key'."
   :type '(choice key-sequence (const nil)))
 
-(defvar consult-project-root-function nil)
-(make-obsolete-variable 'consult-project-root-function
-                        "Deprecated in favor of `consult-project-function'." 
"0.15")
-
 (defcustom consult-project-function
   #'consult--default-project-function
   "Function which returns project root directory.
@@ -516,13 +512,6 @@ We use invalid characters outside the Unicode range.")
 
 ;;;; Customization helper
 
-;; TODO remove obsolete function `consult--customize-set'.
-;; The function exists to avoid issues with precompiled configurations,
-;; which still refer to `consult--customize-set'.
-(defun consult--customize-set (cmds prop val)
-  "Set property PROP to VAL of commands CMDS."
-  (consult--customize-put cmds prop `',val))
-
 (defun consult--customize-put (cmds prop form)
   "Set property PROP to FORM of commands CMDS."
   (dolist (cmd cmds)

Reply via email to