subject-p makes more sense as (selector, element)
authorpix@kepibu.org
local dateMon, 04 Jan 2010 01:07:02
dateMon, 04 Jan 2010 01:07:02
hash20100104010702-50f04-02c585a62937f137033abe24608885f86b997ee1.gz
subject-p makes more sense as (selector, element)

For future reference, I used the following code to do this automatically, plus a
few minor manual edits (e.g., swapping rcurry and curry):

(defun seek-forward (term)
(let ((p (search-forward term nil t)))
(when p
(goto-char p))))

(defun swap-args ()
(interactive)
(save-excursion
(while (seek-forward "defmethod subject-p (")
(forward-sexp)
(transpose-sexps 1)))
(save-excursion
(while (seek-forward "(subject-p")
(forward-sexp)
(transpose-sexps 1))))
1 file(s) changed:
selectors.lisp +17 -17