diff options
| author | Glenn Morris | 2010-11-10 19:53:16 -0800 |
|---|---|---|
| committer | Glenn Morris | 2010-11-10 19:53:16 -0800 |
| commit | e7c4fb1ef4293f399f27efe834e37736ab43a930 (patch) | |
| tree | a2886d965e7e26d9e72c5872a35330ff1bafc7bf | |
| parent | e7102c0aca8b0834931c8d7533ffa58654dd7655 (diff) | |
| download | emacs-e7c4fb1ef4293f399f27efe834e37736ab43a930.tar.gz emacs-e7c4fb1ef4293f399f27efe834e37736ab43a930.zip | |
Silence idlw*.el compilation.
* lisp/progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
* lisp/progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
(idlwave-study-twins): Prefix dynamic local variable `name'.
(idlwave-routine-twin-compare): Update for above change.
* lisp/progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
Prefix dynamic local variables `name', `kwd', and `link'.
* lisp/progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
* lisp/progmodes/idlw-complete-structtag.el
(idlwave-complete-structure-tag-help):
* lisp/progmodes/idlwave.el (idlwave-complete-sysvar-help)
(idlwave-complete-sysvar-tag-help)
(idlwave-complete-class-structure-tag-help):
Update for above name changes.
| -rw-r--r-- | lisp/ChangeLog | 18 | ||||
| -rw-r--r-- | lisp/progmodes/idlw-complete-structtag.el | 14 | ||||
| -rw-r--r-- | lisp/progmodes/idlw-help.el | 42 | ||||
| -rw-r--r-- | lisp/progmodes/idlw-shell.el | 6 | ||||
| -rw-r--r-- | lisp/progmodes/idlwave.el | 33 |
5 files changed, 66 insertions, 47 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eaae82a892d..3784483f805 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2010-11-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/idlw-complete-structtag.el: Remove unused dec `name'. | ||
| 4 | |||
| 5 | * progmodes/idlwave.el (idlwave-routine-entry-compare-twins) | ||
| 6 | (idlwave-study-twins): Prefix dynamic local variable `name'. | ||
| 7 | (idlwave-routine-twin-compare): Update for above change. | ||
| 8 | |||
| 9 | * progmodes/idlw-help.el (idlwave-do-mouse-completion-help): | ||
| 10 | Prefix dynamic local variables `name', `kwd', and `link'. | ||
| 11 | * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help): | ||
| 12 | * progmodes/idlw-complete-structtag.el | ||
| 13 | (idlwave-complete-structure-tag-help): | ||
| 14 | * progmodes/idlwave.el (idlwave-complete-sysvar-help) | ||
| 15 | (idlwave-complete-sysvar-tag-help) | ||
| 16 | (idlwave-complete-class-structure-tag-help): | ||
| 17 | Update for above name changes. | ||
| 18 | |||
| 1 | 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org> | 19 | 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 20 | ||
| 3 | * net/browse-url.el (browse-url-browser-function): Change the | 21 | * net/browse-url.el (browse-url-browser-function): Change the |
diff --git a/lisp/progmodes/idlw-complete-structtag.el b/lisp/progmodes/idlw-complete-structtag.el index 95acc427736..56b41541ee3 100644 --- a/lisp/progmodes/idlw-complete-structtag.el +++ b/lisp/progmodes/idlw-complete-structtag.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; idlw-complete-structtag.el --- Completion of structure tags. | 1 | ;;; idlw-complete-structtag.el --- Completion of structure tags. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 3 | ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Carsten Dominik <dominik@astro.uva.nl> | 6 | ;; Author: Carsten Dominik <dominik@astro.uva.nl> |
| 7 | ;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> | 7 | ;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> |
| @@ -225,9 +225,8 @@ an up-to-date completion list." | |||
| 225 | 225 | ||
| 226 | 226 | ||
| 227 | ;; Fake help in the source buffer for structure tags. | 227 | ;; Fake help in the source buffer for structure tags. |
| 228 | ;; kwd and name are global-variables here. | 228 | ;; idlw-help-kwd is a global-variable (from idlwave-do-mouse-completion-help). |
| 229 | (defvar name) | 229 | (defvar idlw-help-kwd) |
| 230 | (defvar kwd) | ||
| 231 | (defvar idlwave-help-do-struct-tag) | 230 | (defvar idlwave-help-do-struct-tag) |
| 232 | (defun idlwave-complete-structure-tag-help (mode word) | 231 | (defun idlwave-complete-structure-tag-help (mode word) |
| 233 | (cond | 232 | (cond |
| @@ -236,13 +235,10 @@ an up-to-date completion list." | |||
| 236 | (not (equal idlwave-current-tags-buffer | 235 | (not (equal idlwave-current-tags-buffer |
| 237 | (get-buffer (idlwave-shell-buffer))))) | 236 | (get-buffer (idlwave-shell-buffer))))) |
| 238 | ((eq mode 'set) | 237 | ((eq mode 'set) |
| 239 | (setq kwd word | 238 | (setq idlw-help-kwd word |
| 240 | idlwave-help-do-struct-tag idlwave-structtag-struct-location)) | 239 | idlwave-help-do-struct-tag idlwave-structtag-struct-location)) |
| 241 | (t (error "This should not happen")))) | 240 | (t (error "This should not happen")))) |
| 242 | 241 | ||
| 243 | (provide 'idlw-complete-structtag) | 242 | (provide 'idlw-complete-structtag) |
| 244 | 243 | ||
| 245 | ;;; idlw-complete-structtag.el ends here | 244 | ;;; idlw-complete-structtag.el ends here |
| 246 | |||
| 247 | |||
| 248 | ;; arch-tag: d1f9e55c-e504-4187-9c31-3c3651fa4bfa | ||
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el index 850d68e918f..d7c14ccd4a8 100644 --- a/lisp/progmodes/idlw-help.el +++ b/lisp/progmodes/idlw-help.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; idlw-help.el --- HTML Help code for IDLWAVE | 1 | ;;; idlw-help.el --- HTML Help code for IDLWAVE |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 3 | ;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; 2009, 2010 Free Software Foundation, Inc. |
| 5 | ;; | 5 | ;; |
| 6 | ;; Authors: J.D. Smith <jdsmith@as.arizona.edu> | 6 | ;; Authors: J.D. Smith <jdsmith@as.arizona.edu> |
| 7 | ;; Carsten Dominik <dominik@science.uva.nl> | 7 | ;; Carsten Dominik <dominik@science.uva.nl> |
| @@ -576,13 +576,13 @@ Needs additional info stored in global `idlwave-completion-help-info'." | |||
| 576 | (let* ((cw (selected-window)) | 576 | (let* ((cw (selected-window)) |
| 577 | (info idlwave-completion-help-info) ; global passed in | 577 | (info idlwave-completion-help-info) ; global passed in |
| 578 | (what (nth 0 info)) | 578 | (what (nth 0 info)) |
| 579 | (name (nth 1 info)) | 579 | (idlw-help-name (nth 1 info)) |
| 580 | (type (nth 2 info)) | 580 | (type (nth 2 info)) |
| 581 | (class (nth 3 info)) | 581 | (class (nth 3 info)) |
| 582 | (need-class class) | 582 | (need-class class) |
| 583 | (kwd (nth 4 info)) | 583 | (idlw-help-kwd (nth 4 info)) |
| 584 | (sclasses (nth 5 info)) | 584 | (sclasses (nth 5 info)) |
| 585 | word link) | 585 | word idlw-help-link) |
| 586 | (mouse-set-point ev) | 586 | (mouse-set-point ev) |
| 587 | 587 | ||
| 588 | 588 | ||
| @@ -590,18 +590,18 @@ Needs additional info stored in global `idlwave-completion-help-info'." | |||
| 590 | (setq word (idlwave-this-word)) | 590 | (setq word (idlwave-this-word)) |
| 591 | (if (string= word "") | 591 | (if (string= word "") |
| 592 | (error "No help item selected")) | 592 | (error "No help item selected")) |
| 593 | (setq link (get-text-property 0 'link word)) | 593 | (setq idlw-help-link (get-text-property 0 'link word)) |
| 594 | (select-window cw) | 594 | (select-window cw) |
| 595 | (cond | 595 | (cond |
| 596 | ;; Routine name | 596 | ;; Routine name |
| 597 | ((memq what '(procedure function routine)) | 597 | ((memq what '(procedure function routine)) |
| 598 | (setq name word) | 598 | (setq idlw-help-name word) |
| 599 | (if (or (eq class t) | 599 | (if (or (eq class t) |
| 600 | (and (stringp class) sclasses)) | 600 | (and (stringp class) sclasses)) |
| 601 | (let* ((classes (idlwave-all-method-classes | 601 | (let* ((classes (idlwave-all-method-classes |
| 602 | (idlwave-sintern-method name) | 602 | (idlwave-sintern-method idlw-help-name) |
| 603 | type))) | 603 | type))) |
| 604 | (setq link t) ; No specific link valid yet | 604 | (setq idlw-help-link t) ; No specific link valid yet |
| 605 | (if sclasses | 605 | (if sclasses |
| 606 | (setq classes (idlwave-members-only | 606 | (setq classes (idlwave-members-only |
| 607 | classes (cons class sclasses)))) | 607 | classes (cons class sclasses)))) |
| @@ -611,19 +611,19 @@ Needs additional info stored in global `idlwave-completion-help-info'." | |||
| 611 | ;; XXX is this necessary, given all-method-classes? | 611 | ;; XXX is this necessary, given all-method-classes? |
| 612 | (if (stringp class) | 612 | (if (stringp class) |
| 613 | (setq class (idlwave-find-inherited-class | 613 | (setq class (idlwave-find-inherited-class |
| 614 | (idlwave-sintern-routine-or-method name class) | 614 | (idlwave-sintern-routine-or-method idlw-help-name class) |
| 615 | type (idlwave-sintern-class class))))) | 615 | type (idlwave-sintern-class class))))) |
| 616 | 616 | ||
| 617 | ;; Keyword | 617 | ;; Keyword |
| 618 | ((eq what 'keyword) | 618 | ((eq what 'keyword) |
| 619 | (setq kwd word) | 619 | (setq idlw-help-kwd word) |
| 620 | (if (or (eq class t) | 620 | (if (or (eq class t) |
| 621 | (and (stringp class) sclasses)) | 621 | (and (stringp class) sclasses)) |
| 622 | (let ((classes (idlwave-all-method-keyword-classes | 622 | (let ((classes (idlwave-all-method-keyword-classes |
| 623 | (idlwave-sintern-method name) | 623 | (idlwave-sintern-method idlw-help-name) |
| 624 | (idlwave-sintern-keyword kwd) | 624 | (idlwave-sintern-keyword idlw-help-kwd) |
| 625 | type))) | 625 | type))) |
| 626 | (setq link t) ; Link can't be correct yet | 626 | (setq idlw-help-link t) ; Link can't be correct yet |
| 627 | (if sclasses | 627 | (if sclasses |
| 628 | (setq classes (idlwave-members-only | 628 | (setq classes (idlwave-members-only |
| 629 | classes (cons class sclasses)))) | 629 | classes (cons class sclasses)))) |
| @@ -632,11 +632,12 @@ Needs additional info stored in global `idlwave-completion-help-info'." | |||
| 632 | ;; XXX is this necessary, given all-method-keyword-classes? | 632 | ;; XXX is this necessary, given all-method-keyword-classes? |
| 633 | (if (stringp class) | 633 | (if (stringp class) |
| 634 | (setq class (idlwave-find-inherited-class | 634 | (setq class (idlwave-find-inherited-class |
| 635 | (idlwave-sintern-routine-or-method name class) | 635 | (idlwave-sintern-routine-or-method |
| 636 | idlw-help-name class) | ||
| 636 | type (idlwave-sintern-class class))))) | 637 | type (idlwave-sintern-class class))))) |
| 637 | (if (string= (downcase name) "obj_new") | 638 | (if (string= (downcase idlw-help-name) "obj_new") |
| 638 | (setq class idlwave-current-obj_new-class | 639 | (setq class idlwave-current-obj_new-class |
| 639 | name "Init")))) | 640 | idlw-help-name "Init")))) |
| 640 | 641 | ||
| 641 | ;; Class name | 642 | ;; Class name |
| 642 | ((eq what 'class) | 643 | ((eq what 'class) |
| @@ -649,9 +650,11 @@ Needs additional info stored in global `idlwave-completion-help-info'." | |||
| 649 | (funcall what 'set word)) | 650 | (funcall what 'set word)) |
| 650 | 651 | ||
| 651 | (t (error "Cannot help with this item"))) | 652 | (t (error "Cannot help with this item"))) |
| 652 | (if (and need-class (not class) (not (and link (not (eq link t))))) | 653 | (if (and need-class (not class) |
| 654 | (not (and idlw-help-link (not (eq idlw-help-link t))))) | ||
| 653 | (error "Cannot help with this item")) | 655 | (error "Cannot help with this item")) |
| 654 | (idlwave-online-help link (or name word) type class kwd))) | 656 | (idlwave-online-help idlw-help-link (or idlw-help-name word) |
| 657 | type class idlw-help-kwd))) | ||
| 655 | 658 | ||
| 656 | (defvar idlwave-highlight-help-links-in-completion) | 659 | (defvar idlwave-highlight-help-links-in-completion) |
| 657 | (defvar idlwave-completion-help-links) | 660 | (defvar idlwave-completion-help-links) |
| @@ -1383,5 +1386,4 @@ IDL assistant.") | |||
| 1383 | (provide 'idlw-help) | 1386 | (provide 'idlw-help) |
| 1384 | (provide 'idlwave-help) | 1387 | (provide 'idlwave-help) |
| 1385 | 1388 | ||
| 1386 | ;; arch-tag: d27b5505-59de-497f-ba3f-f199fd4fb911 | ||
| 1387 | ;;; idlw-help.el ends here | 1389 | ;;; idlw-help.el ends here |
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index 87eb3689f3f..02eb0324cd8 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -2180,8 +2180,8 @@ keywords." | |||
| 2180 | ;; Default completion of modules and keywords | 2180 | ;; Default completion of modules and keywords |
| 2181 | (idlwave-complete arg))))) | 2181 | (idlwave-complete arg))))) |
| 2182 | 2182 | ||
| 2183 | ;; Get rid of opaque dynamic variable passing of link? | 2183 | ;; Get rid of opaque dynamic variable passing of idlw-help-link? |
| 2184 | (defvar link) ;dynamic variable | 2184 | (defvar idlw-help-link) ; dynamic variable from idlwave-do-mouse-completion-help |
| 2185 | (defun idlwave-shell-complete-execcomm-help (mode word) | 2185 | (defun idlwave-shell-complete-execcomm-help (mode word) |
| 2186 | (let ((word (or (nth 1 idlwave-completion-help-info) word)) | 2186 | (let ((word (or (nth 1 idlwave-completion-help-info) word)) |
| 2187 | (entry (assoc-string word idlwave-executive-commands-alist t))) | 2187 | (entry (assoc-string word idlwave-executive-commands-alist t))) |
| @@ -2189,7 +2189,7 @@ keywords." | |||
| 2189 | ((eq mode 'test) | 2189 | ((eq mode 'test) |
| 2190 | (and (stringp word) entry (cdr entry))) | 2190 | (and (stringp word) entry (cdr entry))) |
| 2191 | ((eq mode 'set) | 2191 | ((eq mode 'set) |
| 2192 | (if entry (setq link (cdr entry)))) ;; setting dynamic variable!!! | 2192 | (if entry (setq idlw-help-link (cdr entry)))) ; setting dynamic variable! |
| 2193 | (t (error "This should not happen"))))) | 2193 | (t (error "This should not happen"))))) |
| 2194 | 2194 | ||
| 2195 | (defun idlwave-shell-complete-filename (&optional arg) | 2195 | (defun idlwave-shell-complete-filename (&optional arg) |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 736d2c56345..e05ea855636 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -7659,7 +7659,7 @@ property indicating the link is added." | |||
| 7659 | t)) ; return t to skip other completions | 7659 | t)) ; return t to skip other completions |
| 7660 | (t nil)))) | 7660 | (t nil)))) |
| 7661 | 7661 | ||
| 7662 | (defvar link) ;dynamic variables set by help callback | 7662 | (defvar idlw-help-link) ;dynamic variables set by help callback |
| 7663 | (defun idlwave-complete-sysvar-help (mode word) | 7663 | (defun idlwave-complete-sysvar-help (mode word) |
| 7664 | (let ((word (or (nth 1 idlwave-completion-help-info) word)) | 7664 | (let ((word (or (nth 1 idlwave-completion-help-info) word)) |
| 7665 | (entry (assoc word idlwave-system-variables-alist))) | 7665 | (entry (assoc word idlwave-system-variables-alist))) |
| @@ -7667,7 +7667,8 @@ property indicating the link is added." | |||
| 7667 | ((eq mode 'test) | 7667 | ((eq mode 'test) |
| 7668 | (and (stringp word) entry (nth 1 (assq 'link entry)))) | 7668 | (and (stringp word) entry (nth 1 (assq 'link entry)))) |
| 7669 | ((eq mode 'set) | 7669 | ((eq mode 'set) |
| 7670 | (if entry (setq link (nth 1 (assq 'link entry))))) ;; setting dynamic!!! | 7670 | ;; Setting dynamic!!! |
| 7671 | (if entry (setq idlw-help-link (nth 1 (assq 'link entry))))) | ||
| 7671 | (t (error "This should not happen"))))) | 7672 | (t (error "This should not happen"))))) |
| 7672 | 7673 | ||
| 7673 | (defun idlwave-complete-sysvar-tag-help (mode word) | 7674 | (defun idlwave-complete-sysvar-tag-help (mode word) |
| @@ -7681,10 +7682,10 @@ property indicating the link is added." | |||
| 7681 | (and (stringp word) entry main)) | 7682 | (and (stringp word) entry main)) |
| 7682 | ((eq mode 'set) | 7683 | ((eq mode 'set) |
| 7683 | (if entry | 7684 | (if entry |
| 7684 | (setq link | 7685 | (setq idlw-help-link |
| 7685 | (if (setq target (cdr (assoc-string word tags t))) | 7686 | (if (setq target (cdr (assoc-string word tags t))) |
| 7686 | (idlwave-substitute-link-target main target) | 7687 | (idlwave-substitute-link-target main target) |
| 7687 | main)))) ;; setting dynamic!!! | 7688 | main)))) ;; setting dynamic!!! |
| 7688 | (t (error "This should not happen"))))) | 7689 | (t (error "This should not happen"))))) |
| 7689 | 7690 | ||
| 7690 | (defun idlwave-split-link-target (link) | 7691 | (defun idlwave-split-link-target (link) |
| @@ -7704,9 +7705,10 @@ property indicating the link is added." | |||
| 7704 | link))) | 7705 | link))) |
| 7705 | 7706 | ||
| 7706 | ;; Fake help in the source buffer for class structure tags. | 7707 | ;; Fake help in the source buffer for class structure tags. |
| 7707 | ;; KWD AND NAME ARE GLOBAL-VARIABLES HERE. | 7708 | ;; IDLW-HELP-LINK AND IDLW-HELP-NAME ARE GLOBAL-VARIABLES HERE. |
| 7708 | (defvar name) | 7709 | ;; (from idlwave-do-mouse-completion-help) |
| 7709 | (defvar kwd) | 7710 | (defvar idlw-help-name) |
| 7711 | (defvar idlw-help-link) | ||
| 7710 | (defvar idlwave-help-do-class-struct-tag nil) | 7712 | (defvar idlwave-help-do-class-struct-tag nil) |
| 7711 | (defun idlwave-complete-class-structure-tag-help (mode word) | 7713 | (defun idlwave-complete-class-structure-tag-help (mode word) |
| 7712 | (cond | 7714 | (cond |
| @@ -7722,9 +7724,9 @@ property indicating the link is added." | |||
| 7722 | idlwave-system-class-info) | 7724 | idlwave-system-class-info) |
| 7723 | (error "No help available for system class tags")) | 7725 | (error "No help available for system class tags")) |
| 7724 | (if (setq found-in (idlwave-class-found-in class-with)) | 7726 | (if (setq found-in (idlwave-class-found-in class-with)) |
| 7725 | (setq name (cons (concat found-in "__define") class-with)) | 7727 | (setq idlw-help-name (cons (concat found-in "__define") class-with)) |
| 7726 | (setq name (concat class-with "__define"))))) | 7728 | (setq idlw-help-name (concat class-with "__define"))))) |
| 7727 | (setq kwd word | 7729 | (setq idlw-help-link word |
| 7728 | idlwave-help-do-class-struct-tag t)) | 7730 | idlwave-help-do-class-struct-tag t)) |
| 7729 | (t (error "This should not happen")))) | 7731 | (t (error "This should not happen")))) |
| 7730 | 7732 | ||
| @@ -8802,7 +8804,7 @@ the `idlwave-system-routines' list, we omit the latter as | |||
| 8802 | non-dangerous because many IDL routines are implemented as library | 8804 | non-dangerous because many IDL routines are implemented as library |
| 8803 | routines, and may have been scanned." | 8805 | routines, and may have been scanned." |
| 8804 | (let* ((entry (car entries)) | 8806 | (let* ((entry (car entries)) |
| 8805 | (name (car entry)) ; | 8807 | (idlwave-twin-name (car entry)) ; |
| 8806 | (type (nth 1 entry)) ; Must be bound for | 8808 | (type (nth 1 entry)) ; Must be bound for |
| 8807 | (idlwave-twin-class (nth 2 entry)) ; idlwave-routine-twin-compare | 8809 | (idlwave-twin-class (nth 2 entry)) ; idlwave-routine-twin-compare |
| 8808 | (cnt 0) | 8810 | (cnt 0) |
| @@ -8878,7 +8880,7 @@ names and path locations." | |||
| 8878 | (defun idlwave-routine-entry-compare-twins (a b) | 8880 | (defun idlwave-routine-entry-compare-twins (a b) |
| 8879 | "Compare two routine entries, under the assumption that they are twins. | 8881 | "Compare two routine entries, under the assumption that they are twins. |
| 8880 | This basically calls `idlwave-routine-twin-compare' with the correct args." | 8882 | This basically calls `idlwave-routine-twin-compare' with the correct args." |
| 8881 | (let* ((name (car a)) | 8883 | (let* ((idlwave-twin-name (car a)) |
| 8882 | (type (nth 1 a)) | 8884 | (type (nth 1 a)) |
| 8883 | (idlwave-twin-class (nth 2 a)) ; used in idlwave-routine-twin-compare | 8885 | (idlwave-twin-class (nth 2 a)) ; used in idlwave-routine-twin-compare |
| 8884 | (asrc (nth 3 a)) | 8886 | (asrc (nth 3 a)) |
| @@ -8897,6 +8899,7 @@ This basically calls `idlwave-routine-twin-compare' with the correct args." | |||
| 8897 | 8899 | ||
| 8898 | ;; Bound in idlwave-study-twins,idlwave-routine-entry-compare-twins. | 8900 | ;; Bound in idlwave-study-twins,idlwave-routine-entry-compare-twins. |
| 8899 | (defvar idlwave-twin-class) | 8901 | (defvar idlwave-twin-class) |
| 8902 | (defvar idlwave-twin-name) | ||
| 8900 | 8903 | ||
| 8901 | (defun idlwave-routine-twin-compare (a b) | 8904 | (defun idlwave-routine-twin-compare (a b) |
| 8902 | "Compare two routine twin entries for sorting. | 8905 | "Compare two routine twin entries for sorting. |
| @@ -8937,8 +8940,8 @@ This expects NAME TYPE IDLWAVE-TWIN-CLASS to be bound to the right values." | |||
| 8937 | (fname-re (if idlwave-twin-class | 8940 | (fname-re (if idlwave-twin-class |
| 8938 | (format "\\`%s__\\(%s\\|define\\)\\.pro\\'" | 8941 | (format "\\`%s__\\(%s\\|define\\)\\.pro\\'" |
| 8939 | (regexp-quote (downcase idlwave-twin-class)) | 8942 | (regexp-quote (downcase idlwave-twin-class)) |
| 8940 | (regexp-quote (downcase name))) | 8943 | (regexp-quote (downcase idlwave-twin-name))) |
| 8941 | (format "\\`%s\\.pro" (regexp-quote (downcase name))))) | 8944 | (format "\\`%s\\.pro" (regexp-quote (downcase idlwave-twin-name))))) |
| 8942 | ;; Is file name derived from the routine name? | 8945 | ;; Is file name derived from the routine name? |
| 8943 | ;; Method file or class definition file? | 8946 | ;; Method file or class definition file? |
| 8944 | (anamep (string-match fname-re aname)) | 8947 | (anamep (string-match fname-re aname)) |