Changeset 4200 for trunk/lisp/erc/erc-fill.el
- Timestamp:
- 04/07/07 15:49:28 (2 years ago)
- Files:
-
- trunk/lisp/erc/erc-fill.el (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/erc/erc-fill.el
r4190 r4200 1 1 ;;; erc-fill.el --- Filling IRC messages in various ways 2 2 3 ;; Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Free Software Foundation, Inc. 3 ;; Copyright (C) 2001, 2002, 2003, 2004, 2006, 4 ;; 2007 Free Software Foundation, Inc. 4 5 5 6 ;; Author: Andreas Fuchs <asf@void.at> … … 188 189 0)) 189 190 190 (defun erc-restore-text-properties ()191 "Restore the property 'erc-parsed for the region."192 (let* ((parsed-posn (text-property-not-all (point-min) (point-max)193 'erc-parsed nil))194 (parsed-prop (when parsed-posn195 (get-text-property parsed-posn 'erc-parsed))))196 (put-text-property (point-min) (point-max) 'erc-parsed parsed-prop)))197 198 191 (provide 'erc-fill) 199 192
