Changeset 4091 for trunk/lisp/simple.el
- Timestamp:
- 05/27/06 10:35:24 (2 years ago)
- Files:
-
- trunk/lisp/simple.el (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/simple.el
r4079 r4091 2550 2550 specifies the yank-handler text property to be set on the killed 2551 2551 text. See `insert-for-yank'." 2552 (interactive "r") 2552 ;; Pass point first, then mark, because the order matters 2553 ;; when calling kill-append. 2554 (interactive (list (point) (mark))) 2553 2555 (condition-case nil 2554 2556 (let ((string (filter-buffer-substring beg end t))) … … 3644 3646 3645 3647 ;; Process intangibility within a line. 3646 ;; Move to the chosen destination position from above, 3647 ;; with intangibility processing enabled. 3648 3649 ;; Avoid calling point-entered and point-left. 3648 ;; With inhibit-point-motion-hooks bound to nil, a call to 3649 ;; goto-char moves point past intangible text. 3650 3651 ;; However, inhibit-point-motion-hooks controls both the 3652 ;; intangibility and the point-entered/point-left hooks. The 3653 ;; following hack avoids calling the point-* hooks 3654 ;; unnecessarily. Note that we move *forward* past intangible 3655 ;; text when the initial and final points are the same. 3650 3656 (goto-char new) 3651 3657 (let ((inhibit-point-motion-hooks nil)) … … 4242 4248 (defvaralias 'default-indicate-unused-lines 'default-indicate-empty-lines) 4243 4249 4244 (defun toggle-truncate-lines ( arg)4250 (defun toggle-truncate-lines (&optional arg) 4245 4251 "Toggle whether to fold or truncate long lines on the screen. 4246 4252 With arg, truncate long lines iff arg is positive.
