X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fsymbol.lisp;h=978074e9c7634a17b58d6515e64a56e2c1350ce3;hb=8c773ad69a6dd73e3588f5a4ff89e1e26f05e3a0;hp=5ef0d7bbb3225f6eaec4a646ae840c4ec10a2ab5;hpb=151fa3c5d85e3fd4621f65ee9676822a73ffbb57;p=sbcl.git diff --git a/src/code/symbol.lisp b/src/code/symbol.lisp index 5ef0d7b..978074e 100644 --- a/src/code/symbol.lisp +++ b/src/code/symbol.lisp @@ -15,7 +15,7 @@ (in-package "SB!IMPL") -(declaim (maybe-inline get get2 get3 %put getf remprop %putf get-properties keywordp)) +(declaim (maybe-inline get get3 %put getf remprop %putf get-properties keywordp)) (defun symbol-value (symbol) #!+sb-doc @@ -123,20 +123,6 @@ distinct from the global value. Can also be SETF." is found, return the associated value, else return DEFAULT." (get3 symbol indicator default)) -(defun get2 (symbol indicator) - (get3 symbol indicator nil)) -#| - (let (cdr-pl) - (do ((pl (symbol-plist symbol) (cdr cdr-pl))) - ((atom pl) nil) - (setf cdr-pl (cdr pl)) - (cond ((atom cdr-pl) - (error "~S has an odd number of items in its property list." - symbol)) - ((eq (car pl) indicator) - (return (car cdr-pl))))))) -|# - (defun get3 (symbol indicator default) (let (cdr-pl) (do ((pl (symbol-plist symbol) (cdr cdr-pl)))