Y.A.S.D.

wl-generate-user-agent-string

こんなことしてみたり。すぐやめるかも。 なぜ b かは秘密 (分かるって)。

(defadvice wl-generate-user-agent-string
  (after TT:remove-comments activate)
  (let ((case-fold-search nil))
    (while (string-match " ([^)b][^)]*)" ad-return-value)
      (setq ad-return-value (replace-match "" nil t ad-return-value)))))
 

Comments:

Post a Comment:
  • HTML Syntax: Allowed

[Masubi]
Copyright © 1998-2009 Tomoaki TSUMURA. Powered by Apache Roller 4.0.1.
tomoaki@tsumura.info