aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorMiles Bader2006-06-07 18:05:10 +0000
committerMiles Bader2006-06-07 18:05:10 +0000
commitb883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb (patch)
treede3804210a8cd955e0d3b9abc15679480930bc82 /lisp/simple.el
parent885b7d0991bd4b4b8f4bd1d3cd21c18a697bbce2 (diff)
parent26c9afc3239e18b03537faaea33e3e82e28099e6 (diff)
downloademacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.tar.gz
emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 285-296) - Update from CVS - Merge from gnus--rel--5.10 - Update from CVS: admin/FOR-RELEASE: Update refcard section. * gnus--rel--5.10 (patch 102-104) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el18
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 6d7e3d0a3d9..b023a7b780f 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2549,7 +2549,9 @@ to make one entry in the kill ring.
2549In Lisp code, optional third arg YANK-HANDLER, if non-nil, 2549In Lisp code, optional third arg YANK-HANDLER, if non-nil,
2550specifies the yank-handler text property to be set on the killed 2550specifies the yank-handler text property to be set on the killed
2551text. See `insert-for-yank'." 2551text. 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 (condition-case nil 2555 (condition-case nil
2554 (let ((string (filter-buffer-substring beg end t))) 2556 (let ((string (filter-buffer-substring beg end t)))
2555 (when string ;STRING is nil if BEG = END 2557 (when string ;STRING is nil if BEG = END
@@ -3643,10 +3645,14 @@ Outline mode sets this."
3643 (setq new (point)) 3645 (setq new (point))
3644 3646
3645 ;; Process intangibility within a line. 3647 ;; Process intangibility within a line.
3646 ;; Move to the chosen destination position from above, 3648 ;; With inhibit-point-motion-hooks bound to nil, a call to
3647 ;; with intangibility processing enabled. 3649 ;; goto-char moves point past intangible text.
3648 3650
3649 ;; Avoid calling point-entered and point-left. 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 (goto-char new) 3656 (goto-char new)
3651 (let ((inhibit-point-motion-hooks nil)) 3657 (let ((inhibit-point-motion-hooks nil))
3652 (goto-char new) 3658 (goto-char new)
@@ -4241,7 +4247,7 @@ The variable `selective-display' has a separate value for each buffer."
4241(defvaralias 'indicate-unused-lines 'indicate-empty-lines) 4247(defvaralias 'indicate-unused-lines 'indicate-empty-lines)
4242(defvaralias 'default-indicate-unused-lines 'default-indicate-empty-lines) 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 "Toggle whether to fold or truncate long lines on the screen. 4251 "Toggle whether to fold or truncate long lines on the screen.
4246With arg, truncate long lines iff arg is positive. 4252With arg, truncate long lines iff arg is positive.
4247Note that in side-by-side windows, truncation is always enabled." 4253Note that in side-by-side windows, truncation is always enabled."