From: Richard M. Stallman Date: Fri, 29 Aug 2003 16:20:18 +0000 (+0000) Subject: Comment change. X-Git-Tag: ttn-vms-21-2-B4~8950 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e874d89541297d35150292aea8aab3f83d5fd7d;p=emacs.git Comment change. --- diff --git a/lisp/desktop.el b/lisp/desktop.el index e4ce71ec71d..d941b606b81 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -37,10 +37,9 @@ ;; - buffer-read-only ;; - some local variables -;; To use this, add these lines in the bottom of your .emacs file: +;; To use this, add these lines to the bottom of your .emacs file: ;; -;; (desktop-load-default) -;; (desktop-read) +;; (require 'desktop) ;; (setq desktop-enable t) ;; ;; Between the first two lines you may wish to add something that updates the diff --git a/lisp/subr.el b/lisp/subr.el index 78d3a755f14..7e2e0e3e304 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1550,6 +1550,8 @@ BUFFER may be a buffer or a buffer name. Arguments START and END are character numbers specifying the substring. They default to the beginning and the end of BUFFER. Strip text properties from the inserted text according to `yank-excluded-properties'." + ;; Since the buffer text should not normally have yank-handler properties, + ;; there is no need to handle them here. (let ((opoint (point))) (insert-buffer-substring buf start end) (remove-yank-excluded-properties opoint (point))))