[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sc-devel] [scel] bug in sclang-interp.el
The tiny bug hindering sclang-eval-defun to do what its supposed to is
still in the sources. Could someone please mend the line in
sclang-language.el in the sources, or tell me how to update the
source-tree myself.
There are refinements which should be made to the code surrounding
this utility, but at least this fix makes the current code work. And
who knows, maybe ill get some time to look into more of this soon...
Thanks.
-anders
Heres a diff vs. todays sources:
*** /site/SC3/SC3-siste/linux/scel/el/sclang-language.el 2007-12-14 22:09:53.000000000 +0100
--- /site/SC3/SC3-november/linux/scel/el/sclang-language.el 2007-12-14 22:11:38.000000000 +0100
***************
*** 325,331 ****
(save-excursion
(let ((orig (point))
beg end)
! (and (beginning-of-defun-raw 1)
(setq beg (point))
(condition-case nil (forward-list 1) (error nil))
(setq end (point))
--- 325,331 ----
(save-excursion
(let ((orig (point))
beg end)
! (and (progn (beginning-of-defun-raw 1) t)
(setq beg (point))
(condition-case nil (forward-list 1) (error nil))
(setq end (point))