[Top][All Lists]
[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: |
Tue, 25 Dec 2007 22:43:45 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Richard M. Stallman <rms> 07/12/25 22:43:44
Index: simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.894
retrieving revision 1.895
diff -u -b -r1.894 -r1.895
--- simple.el 25 Dec 2007 22:12:56 -0000 1.894
+++ simple.el 25 Dec 2007 22:43:44 -0000 1.895
@@ -3377,6 +3377,10 @@
(and transient-mark-mode mark-active
(or use-empty-active-region (> (region-end) (region-beginning)))))
+(defun region-active-p ()
+ "Return t if Transient Mark mode is enabled and the mark is active."
+ (and transient-mark-mode mark-active))
+
(defvar mark-ring nil
"The list of former marks of the current buffer, most recent first.")
(make-variable-buffer-local 'mark-ring)
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, D. Goel, 2007/12/05
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Richard M. Stallman, 2007/12/23
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Richard M. Stallman, 2007/12/25
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Richard M. Stallman, 2007/12/25
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Richard M. Stallman, 2007/12/25
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v,
Richard M. Stallman <=
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Richard M. Stallman, 2007/12/25
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Miles Bader, 2007/12/28