diff options
author | Sean Allred <code@seanallred.com> | 2015-01-15 00:26:14 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2015-01-15 00:26:14 -0500 |
commit | 67f1cd1dc24560a21eef8186590020d26d9e55d7 (patch) | |
tree | c1b105f58f0efc75983964665e41efe531570933 | |
parent | 087ff1fdf3c4d42510d59a91659f166763baec57 (diff) |
Fix letbinding
`gpf' used to stand for `get-property-function', but this was abstracted
into a `get-function'. The letbinding was never changed.
This commit also conveniently allows me to say: Fix #226.
-rw-r--r-- | sx.el | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -264,17 +264,17 @@ whenever BODY evaluates to nil." COMPARE-FUNC is a function that takes the return value of GET-FUNC and performs the actual comparison." (declare (indent 1) (doc-string 2)) - (let ((gpf (intern (format " %S--get-prop-function" name))) - (cf (intern (format " %S--compare-function" name)))) + (let ((gf (intern (format " %S--get-prop-function" name))) + (cf (intern (format " %S--compare-function" name)))) ;; Leading space to hide from completion systems `(progn ;; In using `defalias', the macro supports both function ;; symbols and lambda expressions. - (defalias ',gpf ,get-func) - (defalias ',cf ,compare-func) + (defalias ',gf ,get-func) + (defalias ',cf ,compare-func) (defun ,name (a b) ,doc - (,cf (,gpf a) (,gpf b)))))) + (,cf (,gf a) (,gf b)))))) ;;; Printing request data |