;; - 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
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))))