[Top][All Lists]

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

bug#36327: Incompatible Redefinition of fill-paragraph

From: Keith Waclena
Subject: bug#36327: Incompatible Redefinition of fill-paragraph
Date: Fri, 21 Jun 2019 17:10:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

I use:  Editor:      GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, X toolkit, 
Xaw3d scroll bars)

        Hyperbole:   7.0.3
        Sys Type:    x86_64-pc-linux-gnu
        OS Type:     gnu/linux
        Window Sys:  x
        News Reader: Gnus v5.13

In hyperbole's kfill.el the function fill-paragraph is redefined:

    ;;; Redefine this built-in function.

    (defun fill-paragraph (arg &optional skip-prefix-remove)

But this redefinition is incompatible with the original:

    fill-paragraph is an interactive compiled Lisp function in ‘fill.el’.

    It is bound to M-q.

    (fill-paragraph &optional JUSTIFY REGION)

This causes some of my code to blow up because I call fill-paragraph
with no arg:

    Debugger entered--Lisp error: (wrong-number-of-arguments 
#f(compiled-function (arg &optional skip-prefix-remove) (interactive "*P") 
#<bytecode 0x272a81d>) 0)

Unfortunately this means I have to disable hyperbole... :-(

Keith Waclena / Arch Linux / OCaml / M-x / ATKQJ / 🚲 / 🍳 / YASD / gc'e'a' / 
\clef treble
http://www.lib.uchicago.edu/keith/    gpg 5DA89C7DECA0D55A
n.p.: All Night Long (South San Gabriel)

reply via email to

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