Changeset 4200 for trunk/lisp/erc/erc-stamp.el
- Timestamp:
- 04/07/07 15:49:28 (2 years ago)
- Files:
-
- trunk/lisp/erc/erc-stamp.el (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/erc/erc-stamp.el
r4190 r4200 148 148 (when (and (fboundp erc-insert-away-timestamp-function) 149 149 erc-away-timestamp-format 150 ( with-current-buffer (erc-server-buffer) erc-away)150 (erc-away-time) 151 151 (not erc-timestamp-format)) 152 152 (funcall erc-insert-away-timestamp-function … … 204 204 (unless ignore-p (setq erc-timestamp-last-inserted string)) 205 205 (erc-put-text-property 0 len 'field 'erc-timestamp s) 206 (erc-put-text-property 0 len 'invisible 'timestamp s) 206 207 (insert s))) 207 208 … … 320 321 (erc-munge-invisibility-spec)) 321 322 323 (defun erc-toggle-timestamps () 324 "Hide or show timestamps in ERC buffers. 325 326 Note that timestamps can only be shown for a message using this 327 function if `erc-timestamp-format' was set and timestamping was 328 enabled when the message was inserted." 329 (interactive) 330 (if erc-hide-timestamps 331 (setq erc-hide-timestamps nil) 332 (setq erc-hide-timestamps t)) 333 (mapc (lambda (buffer) 334 (with-current-buffer buffer 335 (erc-munge-invisibility-spec))) 336 (erc-buffer-list))) 337 322 338 (defun erc-echo-timestamp (before now) 323 339 "Print timestamp text-property of an IRC message.
