diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-27 15:21:40 -0300 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-27 15:21:40 -0300 |
commit | 0806b2121056dbf73beaf179f5fb695398cdd808 (patch) | |
tree | e4b3f8c9ffe8a4a6e1f8155ad455bf85b2067eb5 /sx.el | |
parent | 0e07ff6c8fa9dcbbc59f17533e7f20dae511ecfe (diff) | |
parent | aa1368c104aebf837fd7654deea8d244428616a2 (diff) |
Merge pull request #264 from vermiculus/delete-command
Delete command
Diffstat (limited to 'sx.el')
-rw-r--r-- | sx.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -346,6 +346,10 @@ GET-FUNC and performs the actual comparison." "Return STRING with consecutive whitespace squashed together." (replace-regexp-in-string "[ \r\n]+" " " string)) +(defun sx--deleted-p (data) + "Return non-nil if DATA represents a deleted object." + (eq (car data) 'deleted)) + (defun sx--invert-predicate (predicate) "Return PREDICATE function with arguments inverted. For instance (sx--invert-predicate #'<) is the same as #'>. |