[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-recutils] rec-mode + emacs25 ?

From: Jose E. Marchesi
Subject: Re: [bug-recutils] rec-mode + emacs25 ?
Date: Thu, 20 Oct 2016 18:39:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

    recently I upgraded emacs and recutils ... 
    now edit mode/s spawns this:
    rec-remove-continuation-line-marker-overlays: Wrong number of arguments: 
setq, 1
    I'm wondering what can it be :(
    11.0-RELEASE-p1 #0 r306420: amd64
    both are installed from packages
    ---[ .emacs quotation start ]-------------------------------------------
    (require 'rec-mode)
    (add-to-list 'auto-mode-alist '("\\.rec\\'" . rec-mode))
    ---[ .emacs quotation end   ]-------------------------------------------
    please, advise

That is fixed in master.
Apply this patch:

diff --git a/etc/rec-mode.el b/etc/rec-mode.el
index 47eb067..fa23c8b 100644
--- a/etc/rec-mode.el
+++ b/etc/rec-mode.el
@@ -992,7 +992,7 @@ current buffer to look like indentation."
 (defun rec-remove-continuation-line-marker-overlays ()
   "Delete all the continuation line markers overlays."
   (mapc 'delete-overlay rec-continuation-line-markers-overlays)
-  (setq rec-continuation-line-markers-overlays))
+  (setq rec-continuation-line-markers-overlays nil))
 ;;;; Field folding

reply via email to

[Prev in Thread] Current Thread [Next in Thread]