aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-07-30 09:42:46 +0000
committerJuanma Barranquero2008-07-30 09:42:46 +0000
commitff6d2a9e33dd163c6fe9dec2fe8813ab4d689d7e (patch)
tree92fb27f1f21236180a1308b041d87d5bc8c1f290
parent3f6b73eff6ebfafeab50df3bf9644ad8a4444403 (diff)
downloademacs-ff6d2a9e33dd163c6fe9dec2fe8813ab4d689d7e.tar.gz
emacs-ff6d2a9e33dd163c6fe9dec2fe8813ab4d689d7e.zip
* lisp/ada-prj.el (ada-prj-initialize-values): Fix use of deleted
ada-xref-set-default-prj-values. (ada-prj-display-page): Ditto. * list/ada-xref.el (ada-gnatstub-opts): Fix doc string. (ada-make-filename-from-adaname): Fix free variable.
-rw-r--r--lisp/ChangeLog19
-rw-r--r--lisp/progmodes/ada-prj.el5
-rw-r--r--lisp/progmodes/ada-xref.el4
3 files changed, 17 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8dbf24f1163..74b23a8f461 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12008-07-30 Stepehen Leake <stephen_leake@stephe-leake.org>
2
3 * lisp/ada-prj.el (ada-prj-initialize-values): Fix use of deleted
4 ada-xref-set-default-prj-values.
5 (ada-prj-display-page): Ditto.
6
7 * list/ada-xref.el (ada-gnatstub-opts): Fix doc string.
8 (ada-make-filename-from-adaname): Fix free variable.
9
12008-07-30 Dan Nicolaescu <dann@ics.uci.edu> 102008-07-30 Dan Nicolaescu <dann@ics.uci.edu>
2 11
3 * vc-git.el (vc-git-status-printer): Synchronize with the default. 12 * vc-git.el (vc-git-status-printer): Synchronize with the default.
@@ -17,12 +26,11 @@
17 tasks, as well as extern declarations of tasks for indenting and 26 tasks, as well as extern declarations of tasks for indenting and
18 for foward/backward expression. 27 for foward/backward expression.
19 28
202008-07-30 Wilson Snyder <wsnyder@wsnyder.org> 292008-07-30 Wilson Snyder <wsnyder@wsnyder.org>
21 30
22 * verilog-mode (verilog-read-decls): Allow AUTORESET to work with 31 * verilog-mode (verilog-read-decls): Allow AUTORESET to work with
23 SV 'logic' signals. [Julian Gorfajn] 32 SV 'logic' signals. [Julian Gorfajn]
24 (verilog-auto-inst-column): Make verilog-auto-inst-column 33 (verilog-auto-inst-column): Make verilog-auto-inst-column customizable.
25 customizable.
26 (verilog-string-replace-matches): Avoid recursion with small 34 (verilog-string-replace-matches): Avoid recursion with small
27 replacements. 35 replacements.
28 (verilog-auto-inst-param-value, verilog-mode-version) 36 (verilog-auto-inst-param-value, verilog-mode-version)
@@ -31,10 +39,9 @@
31 (verilog-auto-inst-port, verilog-simplify-range-expression): Add 39 (verilog-auto-inst-port, verilog-simplify-range-expression): Add
32 verilog-auto-inst-param-value option for AUTOINST. [David Rogoff] 40 verilog-auto-inst-param-value option for AUTOINST. [David Rogoff]
33 This allows parameters to be replaced with their values, on the 41 This allows parameters to be replaced with their values, on the
34 expansion of an AUTOINST with Verilog 2001 style parameter 42 expansion of an AUTOINST with Verilog 2001 style parameter settings.
35 settings.
36 43
372008-07-30 David Lord <david.lord@phonecoop.coop> 442008-07-30 David Lord <david.lord@phonecoop.coop>
38 45
39 * calendar/timeclock.el (timeclock-day-projects): Change a `cdr' 46 * calendar/timeclock.el (timeclock-day-projects): Change a `cdr'
40 to `cddr'. 47 to `cddr'.
diff --git a/lisp/progmodes/ada-prj.el b/lisp/progmodes/ada-prj.el
index 9f1aa36cee3..f70906bae0d 100644
--- a/lisp/progmodes/ada-prj.el
+++ b/lisp/progmodes/ada-prj.el
@@ -104,7 +104,7 @@ If no project file is found, return the default values."
104 104
105 ;; Set default values (except for the file name if this was given 105 ;; Set default values (except for the file name if this was given
106 ;; in the buffer 106 ;; in the buffer
107 (ada-xref-set-default-prj-values symbol ada-buffer) 107 (set symbol (ada-default-prj-properties))
108 (if (and filename (not (string= filename ""))) 108 (if (and filename (not (string= filename "")))
109 (set symbol (plist-put (eval symbol) 'filename filename))) 109 (set symbol (plist-put (eval symbol) 'filename filename)))
110 )) 110 ))
@@ -463,8 +463,7 @@ connect to the target when working with cross-environments" t)
463 (widget-insert "______________________________________________________________________\n\n ") 463 (widget-insert "______________________________________________________________________\n\n ")
464 (widget-create 'push-button 464 (widget-create 'push-button
465 :notify (lambda (&rest ignore) 465 :notify (lambda (&rest ignore)
466 (ada-xref-set-default-prj-values 466 (setq ada-prj-current-values (ada-default-prj-properties))
467 'ada-prj-current-values ada-prj-ada-buffer)
468 (ada-prj-display-page 1)) 467 (ada-prj-display-page 1))
469 "Reset to Default Values") 468 "Reset to Default Values")
470 (widget-insert " ") 469 (widget-insert " ")
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el
index 7470f8ca6b4..d38795658cd 100644
--- a/lisp/progmodes/ada-xref.el
+++ b/lisp/progmodes/ada-xref.el
@@ -157,7 +157,7 @@ this string is not empty. It is set whenever a project file is found."
157 :type '(file :must-match t) :group 'ada) 157 :type '(file :must-match t) :group 'ada)
158 158
159(defcustom ada-gnatstub-opts "-q -I${src_dir}" 159(defcustom ada-gnatstub-opts "-q -I${src_dir}"
160 "*List of the options to pass to `gnatsub' to generate the body of a package. 160 "*Options to pass to `gnatsub' to generate the body of a package.
161This has the same syntax as in the project file (with variable substitution)." 161This has the same syntax as in the project file (with variable substitution)."
162 :type 'string :group 'ada) 162 :type 'string :group 'ada)
163 163
@@ -2276,7 +2276,7 @@ Return the position of the declaration in the buffer, or nil if not found."
2276 "Determine the filename in which ADANAME is found. 2276 "Determine the filename in which ADANAME is found.
2277This is a GNAT specific function that uses gnatkrunch." 2277This is a GNAT specific function that uses gnatkrunch."
2278 (let ((krunch-buf (generate-new-buffer "*gkrunch*")) 2278 (let ((krunch-buf (generate-new-buffer "*gkrunch*"))
2279 (cross-prefix (plist-get plist 'cross_prefix))) 2279 (cross-prefix (plist-get (cdr (ada-xref-current-project)) 'cross_prefix)))
2280 (save-excursion 2280 (save-excursion
2281 (set-buffer krunch-buf) 2281 (set-buffer krunch-buf)
2282 ;; send adaname to external process `gnatkr'. 2282 ;; send adaname to external process `gnatkr'.