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,v


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/simple.el,v
Date: Mon, 04 Sep 2006 15:03:27 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Richard M. Stallman <rms>       06/09/04 15:03:27

Index: simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.812
retrieving revision 1.813
diff -u -b -r1.812 -r1.813
--- simple.el   20 Aug 2006 12:16:58 -0000      1.812
+++ simple.el   4 Sep 2006 15:03:26 -0000       1.813
@@ -2554,6 +2554,8 @@
   ;; Pass point first, then mark, because the order matters
   ;; when calling kill-append.
   (interactive (list (point) (mark)))
+  (unless (and beg end)
+    (error "The mark is not set now, so there is no region"))
   (condition-case nil
       (let ((string (filter-buffer-substring beg end t)))
        (when string                    ;STRING is nil if BEG = END




reply via email to

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