emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp ChangeLog cedet/semantic/db.el cedet...


From: Chong Yidong
Subject: [Emacs-diffs] emacs/lisp ChangeLog cedet/semantic/db.el cedet...
Date: Mon, 14 Dec 2009 04:17:04 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/12/14 04:17:03

Modified files:
        lisp           : ChangeLog 
        lisp/cedet/semantic: db.el mru-bookmark.el 

Log message:
        * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
        (semantic-mru-bookmark-mode): Doc fixes.
        
        * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
        of assert.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16899&r2=1.16900
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/cedet/semantic/db.el?cvsroot=emacs&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/cedet/semantic/mru-bookmark.el?cvsroot=emacs&r1=1.7&r2=1.8

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16899
retrieving revision 1.16900
diff -u -b -r1.16899 -r1.16900
--- ChangeLog   14 Dec 2009 03:28:34 -0000      1.16899
+++ ChangeLog   14 Dec 2009 04:17:00 -0000      1.16900
@@ -1,3 +1,11 @@
+2009-12-14  Chong Yidong  <address@hidden>
+
+       * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
+       (semantic-mru-bookmark-mode): Doc fixes.
+
+       * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
+       of assert.
+
 2009-12-13  Glenn Morris  <address@hidden>
 
        * mail/emacsbug.el (message-sort-headers): Define for compiler.

Index: cedet/semantic/db.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/cedet/semantic/db.el,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- cedet/semantic/db.el        3 Nov 2009 21:45:33 -0000       1.6
+++ cedet/semantic/db.el        14 Dec 2009 04:17:03 -0000      1.7
@@ -450,7 +450,8 @@
   "Get a cache object on TABLE of class DESIRED-CLASS.
 This method will create one if none exists with no init arguments
 other than :table."
-  (assert (child-of-class-p desired-class 'semanticdb-abstract-cache))
+  (unless (child-of-class-p desired-class 'semanticdb-abstract-cache)
+    (error "Invalid SemanticDB cache"))
   (let ((cache (oref table cache))
        (obj nil))
     (while (and (not obj) cache)
@@ -500,7 +501,8 @@
   "Get a cache object on DB of class DESIRED-CLASS.
 This method will create one if none exists with no init arguments
 other than :table."
-  (assert (child-of-class-p desired-class 'semanticdb-abstract-db-cache))
+  (unless (child-of-class-p desired-class 'semanticdb-abstract-cache)
+    (error "Invalid SemanticDB cache"))
   (let ((cache (oref db cache))
        (obj nil))
     (while (and (not obj) cache)

Index: cedet/semantic/mru-bookmark.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/cedet/semantic/mru-bookmark.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- cedet/semantic/mru-bookmark.el      22 Nov 2009 23:49:17 -0000      1.7
+++ cedet/semantic/mru-bookmark.el      14 Dec 2009 04:17:03 -0000      1.8
@@ -240,9 +240,9 @@
 ;; Tracking minor mode.
 
 (defcustom global-semantic-mru-bookmark-mode nil
-  "*If non-nil enable global use of variable `semantic-mru-bookmark-mode'.
-When this mode is enabled, changes made to a buffer are highlighted
-until the buffer is reparsed."
+  "If non-nil, enable `semantic-mru-bookmark-mode' globally.
+When this mode is enabled, Emacs keeps track of which tags have
+been edited, and you can re-visit them with \\[semantic-mrub-switch-tags]."
   :group 'semantic
   :group 'semantic-modes
   :type 'boolean
@@ -306,8 +306,8 @@
 
 (defun semantic-mru-bookmark-mode (&optional arg)
   "Minor mode for tracking tag-based bookmarks automatically.
-Tag based bookmarks a tracked based on editing and viewing habits
-and can then be navigated via the MRU bookmark keymap.
+When this mode is enabled, Emacs keeps track of which tags have
+been edited, and you can re-visit them with \\[semantic-mrub-switch-tags].
 
 \\{semantic-mru-bookmark-mode-map}
 




reply via email to

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