emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-defs.el,v


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-defs.el,v
Date: Tue, 25 Dec 2007 22:44:29 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Richard M. Stallman <rms>       07/12/25 22:44:29

Index: cc-defs.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-defs.el,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- cc-defs.el  27 Oct 2007 20:27:33 -0000      1.50
+++ cc-defs.el  25 Dec 2007 22:44:28 -0000      1.51
@@ -337,11 +337,11 @@
 (defmacro c-region-is-active-p ()
   ;; Return t when the region is active.  The determination of region
   ;; activeness is different in both Emacs and XEmacs.
-  (if (cc-bytecomp-fboundp 'region-active-p)
-      ;; XEmacs.
-      '(region-active-p)
+  (if (cc-bytecomp-boundp 'mark-active)
     ;; Emacs.
-    'mark-active))
+      'mark-active
+    ;; XEmacs.
+    '(region-active-p)))
 
 (defmacro c-set-region-active (activate)
   ;; Activate the region if ACTIVE is non-nil, deactivate it




reply via email to

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