Changeset 208


Ignore:
Timestamp:
11/05/02 17:38:09 (21 years ago)
Author:
piso
Message:

findTagAtDotInternal(): if name is "Frun_hooks", look for "run-hooks".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/TagCommands.java

    r119 r208  
    33 *
    44 * Copyright (C) 1998-2002 Peter Graves
    5  * $Id: TagCommands.java,v 1.4 2002-10-13 16:16:49 piso Exp $
     5 * $Id: TagCommands.java,v 1.5 2002-11-05 17:38:09 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    482482            if (!succeeded && editor.getModeId() == C_MODE) {
    483483                // Special case for Emacs source.
    484                 // If name is "Feval", look for "eval".
     484                // If name is "Frun_hooks", look for "run-hooks".
    485485                String name = expr.getName();
    486486                if (name != null && name.length() > 0 && name.charAt(0) == 'F')
    487                     succeeded = findTag(editor,
    488                         new Expression(name.substring(1)), useOtherWindow);
     487                    name = name.substring(1).replace('_', '-');
     488                    succeeded = findTag(editor, new Expression(name),
     489                        useOtherWindow);
    489490            }
    490491            if (!succeeded)
Note: See TracChangeset for help on using the changeset viewer.