unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 55885@debbugs.gnu.org
Subject: bug#55885: 29.0.50; missed error message
Date: Sun, 12 Jun 2022 12:13:44 +0200	[thread overview]
Message-ID: <878rq2p4tj.fsf@gnus.org> (raw)
In-Reply-To: <1c7d7083-334a-29b2-fc7c-e871b411c9b0@easy-emacs.de> ("Andreas Röhler"'s message of "Sun, 12 Jun 2022 09:30:13 +0200")

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> Seems my example doesn't work. Herewith the original code considered faulty from
> my init:
>
> (defvar ar-emacs-dir
>   (cond ((boundp 'lisp-directory)
>          (replace-regexp-in-string "/[^/]+/$" "" lisp-directory))
>         ((< (string-to-number (substring emacs-version 0 2)) 27)
>          (alt-emacsdir))
>         (t (progn (elisp-find-definition "featurep")
>               (replace-regexp-in-string "/[^/]+/$" "" (file-name-directory
> (buffer-file-name))))
>            (when ar-emacs-dir (kill-buffer "fns.c"))))) 

elisp-find-definition doesn't exist in the Emacs tree.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-12 10:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  7:26 bug#55885: 29.0.50; missed error message Andreas Röhler
2022-06-10  9:57 ` Lars Ingebrigtsen
2022-06-12  7:30   ` Andreas Röhler
2022-06-12 10:13     ` Lars Ingebrigtsen [this message]
2022-06-12  7:43   ` Andreas Röhler
2022-06-12 10:11     ` Lars Ingebrigtsen
2022-06-12 10:47       ` Andreas Röhler
2022-06-12 11:42         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rq2p4tj.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=55885@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).