aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJ.D. Smith2007-04-01 16:06:51 +0000
committerJ.D. Smith2007-04-01 16:06:51 +0000
commit569abf8677056cf678c74fddb43223db293b80a3 (patch)
tree535b870d25322ed73f33aa85a6ed6ddacc173ad3 /lisp
parent59ea4d8a67b57e38b6ed0cfd45ef47a9ab076934 (diff)
downloademacs-569abf8677056cf678c74fddb43223db293b80a3.tar.gz
emacs-569abf8677056cf678c74fddb43223db293b80a3.zip
(idlwave-shell-break-in): Simplify module calc.
(idlwave-shell-set-bp-in-module): Compute module.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/progmodes/idlw-shell.el19
2 files changed, 16 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6a2e3b41ccc..92a130b5b27 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12007-04-01 J.D. Smith <jdsmith@as.arizona.edu>
2
3 * progmodes/idlw-shell.el (idlwave-shell-break-in): Simplify
4 module calc.
5 (idlwave-shell-set-bp-in-module): Compute module.
6
12007-03-31 Glenn Morris <rgm@gnu.org> 72007-03-31 Glenn Morris <rgm@gnu.org>
2 8
3 * emacs-lisp/timer.el (run-at-time): Doc fix. 9 * emacs-lisp/timer.el (run-at-time): Doc fix.
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index aa2d1b32d10..bcecdeafa0f 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -2698,7 +2698,7 @@ in the current routine."
2698 (class (nth 2 module))) 2698 (class (nth 2 module)))
2699 (if module 2699 (if module
2700 (progn 2700 (progn
2701 (setq module (idlwave-make-full-name (nth 2 module) (car module))) 2701 (setq module (idlwave-make-full-name class name))
2702 (idlwave-shell-module-source-query module type) 2702 (idlwave-shell-module-source-query module type)
2703 (idlwave-shell-set-bp-in-module name type class)) 2703 (idlwave-shell-set-bp-in-module name type class))
2704 (error "No identifier at point")))) 2704 (error "No identifier at point"))))
@@ -2707,14 +2707,15 @@ in the current routine."
2707(defun idlwave-shell-set-bp-in-module (name type class) 2707(defun idlwave-shell-set-bp-in-module (name type class)
2708 "Set breakpoint in module. Assumes that `idlwave-shell-sources-alist' 2708 "Set breakpoint in module. Assumes that `idlwave-shell-sources-alist'
2709contains an entry for that module." 2709contains an entry for that module."
2710 (let ((source-file 2710 (let* ((module (idlwave-make-full-name class name))
2711 (car-safe (cdr-safe 2711 (source-file
2712 (or 2712 (car-safe (cdr-safe
2713 (assoc (upcase (idlwave-make-full-name class name)) 2713 (or
2714 idlwave-shell-sources-alist) 2714 (assoc (upcase module)
2715 (nth 3 (idlwave-best-rinfo-assoc name type class 2715 idlwave-shell-sources-alist)
2716 (idlwave-routines))))))) 2716 (nth 3 (idlwave-best-rinfo-assoc name type class
2717 buf) 2717 (idlwave-routines)))))))
2718 buf)
2718 (if (or (not source-file) 2719 (if (or (not source-file)
2719 (not (file-regular-p source-file)) 2720 (not (file-regular-p source-file))
2720 (not (setq buf 2721 (not (setq buf