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/ada-xref.el,v


From: D. Goel
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/ada-xref.el,v
Date: Thu, 06 Dec 2007 18:36:47 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     D. Goel <deego> 07/12/06 18:36:46

Index: progmodes/ada-xref.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/ada-xref.el,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- progmodes/ada-xref.el       19 Oct 2007 18:41:09 -0000      1.38
+++ progmodes/ada-xref.el       6 Dec 2007 18:36:46 -0000       1.39
@@ -564,7 +564,7 @@
   (let ((file (ada-find-src-file-in-dir filename)))
     (if file
        (find-file file)
-      (error (concat filename " not found in src_dir")))))
+      (error "%s" (concat filename " not found in src_dir")))))
 
 
 ;; ----- Utilities -------------------------------------------------
@@ -1722,7 +1722,7 @@
          ;; No more idea to find the declaration.  Give up
          (progn
            (kill-buffer ali-buffer)
-           (error (concat "No declaration of " (ada-name-of identlist)
+           (error "%s" (concat "No declaration of " (ada-name-of identlist)
                           " found."))
            )))
       )
@@ -1808,7 +1808,7 @@
           ;; none => error
           ((= len 0)
            (kill-buffer (current-buffer))
-           (error (concat "No declaration of "
+           (error "%s" (concat "No declaration of "
                           (ada-name-of identlist)
                           " recorded in .ali file")))
 
@@ -2011,7 +2011,7 @@
                                  (string-to-number (nth 2 (car list)))
                                  identlist
                                  other-frame)
-       (error (concat (caar list) " not found in src_dir")))
+       (error "%s" (concat (caar list) " not found in src_dir")))
       (message "This is only a (good) guess at the cross-reference.")
       )
 




reply via email to

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