diff options
| author | Stefan Monnier | 2003-06-18 23:26:28 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-06-18 23:26:28 +0000 |
| commit | c3f6b2b4128b438cf8134137cbee8ed496f27869 (patch) | |
| tree | e5112903bec3e57a0b768a3cce1fc1d0c11a8360 | |
| parent | 5727e7486425fe68e9017dee29b209ceb4fa7ce4 (diff) | |
| download | emacs-c3f6b2b4128b438cf8134137cbee8ed496f27869.tar.gz emacs-c3f6b2b4128b438cf8134137cbee8ed496f27869.zip | |
(gud-find-expr-function): Rename from gud-find-expr.
(gud-find-fortran-expr): Move to fortran.el.
| -rw-r--r-- | lisp/progmodes/gud.el | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index e449553fd9b..695f884a6a7 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -2658,15 +2658,10 @@ Obeying it means displaying in another window the specified file and line." | |||
| 2658 | ;; point is gud-find-expr, which tries to return an lvalue expression from | 2658 | ;; point is gud-find-expr, which tries to return an lvalue expression from |
| 2659 | ;; around point. | 2659 | ;; around point. |
| 2660 | 2660 | ||
| 2661 | (defvar gud-find-expr 'gud-find-c-expr) | 2661 | (defvar gud-find-expr-function 'gud-find-c-expr) |
| 2662 | 2662 | ||
| 2663 | (defun gud-find-expr (&rest args) | 2663 | (defun gud-find-expr (&rest args) |
| 2664 | (apply gud-find-expr args)) | 2664 | (apply gud-find-expr-function args)) |
| 2665 | |||
| 2666 | (defun gud-find-fortran-expr () | ||
| 2667 | ;; Consider \n as punctuation (end of expression). | ||
| 2668 | (with-syntax-table fortran-gud-syntax-table | ||
| 2669 | (gud-find-c-expr))) | ||
| 2670 | 2665 | ||
| 2671 | ;; The next eight functions are hacked from gdbsrc.el by | 2666 | ;; The next eight functions are hacked from gdbsrc.el by |
| 2672 | ;; Debby Ayers <ayers@asc.slb.com>, | 2667 | ;; Debby Ayers <ayers@asc.slb.com>, |