From: <twm...@li...> - 2010-02-28 13:47:19
|
Branch: refs/heads/master Home: http://github.com/hayamiz/twittering-mode Commit: 4616120776f43e6ea6be3be37203821b22e10132 http://github.com/hayamiz/twittering-mode/commit/4616120776f43e6ea6be3be37203821b22e10132 Author: Tadashi MATSUO <ta...@my...> Date: 2010-02-28 (Sun, 28 Feb 2010) Changed paths: M ChangeLog M twittering-mode.el Log Message: ----------- The body of `twittering-format-status' is dynamically generated. * twittering-mode.el (twittering-format-status-function-source): new variable for the status format used for generating `twittering-format-status-function'. (twittering-format-status-function): new variable for byte-compiled formating function. (twittering-parse-format-string): new function. (twittering-generate-formater): new macro for generating a lambda expression for given a format string and specifiers. (twittering-generate-status-formater-base): new macro for generating a lambda expression for given a format string. (twittering-generate-format-status-function): new macro for generating format status function. (twittering-update-status-format): new function for adjusting `twittering-format-status-function' with the current value of `twittering-status-format'. (twittering-mode-init-variables): invoke `twittering-update-status-format'. (twittering-render-timeline): call `twittering-update-status-format' before rendering statuses. (twittering-format-status): changed into a function receiving one argument. It only calls `twittering-format-status-function'. |