[PATCH] Prevent overriding the primitiv `invisible-p' in Emacs23. Check for Emacs version >= 23 in invisible.el and load new file inv-23.el accordingly. inv-23.el is a simple copy of inv-19.el with the function definition of `invisible-p' removed and version information replaced.

守岡知彦 / MORIOKA Tomohiko tomo at m17n.org
Tue Jun 15 18:23:18 JST 2010


>>>>> In <htx8wawqi7j.fsf at totally-fudged-out-message-id> 
>>>>>	David Maus <maus.david at gmail.com> wrote:

> Made the build file (EMU-ELS) aware of the invisible module for Emacs
> >= 23 as well.
> ---
>  EMU-ELS      |    3 +++
>  inv-23.el    |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  invisible.el |    2 ++
>  3 files changed, 63 insertions(+), 0 deletions(-)
>  create mode 100644 inv-23.el

> diff --git a/EMU-ELS b/EMU-ELS
> index e8575a4..f0b14aa 100644
> --- a/EMU-ELS
> +++ b/EMU-ELS
> @@ -180,6 +180,9 @@
>      ((featurep 'xemacs)
>       ;; XEmacs.
>       '(inv-xemacs invisible))
> +    ((>= emacs-major-version 23)
> +     ;; Emacs 23 and later
> +     '(inv-23 invisible))
>      ((>= emacs-major-version 19)
>       ;; Emacs 19 and later.
>       '(inv-19 invisible))
> diff --git a/inv-23.el b/inv-23.el
> new file mode 100644
> index 0000000..e4da829
> --- /dev/null
> +++ b/inv-23.el
> @@ -0,0 +1,58 @@
> +;;; inv-23.el --- invisible feature implementation for Emacs 23 or later

(snip)

Thanks for your patch.  I applied it.

;; Sorry for too late answer.


Best regards,
-- 
tomo.




More information about the APEL-en mailing list