emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/simple.el


From: Kai Großjohann
Subject: [Emacs-diffs] Changes to emacs/lisp/simple.el
Date: Wed, 28 May 2003 16:07:10 -0400

Index: emacs/lisp/simple.el
diff -c emacs/lisp/simple.el:1.606 emacs/lisp/simple.el:1.607
*** emacs/lisp/simple.el:1.606  Sat May 24 21:45:14 2003
--- emacs/lisp/simple.el        Wed May 28 16:07:09 2003
***************
*** 1913,1919 ****
          (if (eq last-command 'kill-region)
              (kill-append string (< end beg) yank-handler)
            (kill-new string nil yank-handler)))
!       (setq this-command 'kill-region))
      ((buffer-read-only text-read-only)
       ;; The code above failed because the buffer, or some of the characters
       ;; in the region, are read-only.
--- 1913,1920 ----
          (if (eq last-command 'kill-region)
              (kill-append string (< end beg) yank-handler)
            (kill-new string nil yank-handler)))
!       (when (or string (eq last-command 'kill-region))
!         (setq this-command 'kill-region)))
      ((buffer-read-only text-read-only)
       ;; The code above failed because the buffer, or some of the characters
       ;; in the region, are read-only.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]