[ESS] Debugger entered--Lisp error

Leo sdl.web at gmail.com
Tue Sep 4 07:58:12 CEST 2012


On 2012-09-04 13:52 +0800, Leo wrote:
> So the definition of ess-beginning-of-function doesn't meet this
> requirement. Could someone fix it?

diff -u -L /usr/local/site-lisp/ess/ess-r-d.el -L \#\<buffer\ ess-r-d.el\> /usr/local/site-lisp/ess/ess-r-d.el /var/folders/mf/8_qnj_n146d0wxb32wdnb9jh0000gn/T/buffer-content-94202RYK
--- /usr/local/site-lisp/ess/ess-r-d.el
+++ #<buffer ess-r-d.el>
@@ -219,7 +219,7 @@
   (set (make-local-variable 'beginning-of-defun-function)
        (lambda (&optional arg)
          (skip-chars-backward " \t\n")
-         (ess-beginning-of-function)))
+         (ess-beginning-of-function 'noerror)))
   (set (make-local-variable 'end-of-defun-function)
        'ess-end-of-function)
 

Diff finished.  Tue Sep  4 13:56:41 2012



More information about the ESS-help mailing list