help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Symbol's value as variable is void: defun


From: John Mastro
Subject: Re: Symbol's value as variable is void: defun
Date: Fri, 2 Feb 2018 10:10:18 -0800

Davin Pearson <davin.pearson@gmail.com> wrote:
> ;; With the following defun in effect:
>
> (defun load-file-most-recent (file)

[snip]

> (load-file-most-recent 
> "~/lisp++-projects/c++2lisp++-stage-1-purge-comments.el")
>
> ;; gives the following diagnostic: Symbol's value as variable is void:
> ;; defun.

Would using `load' with `load-prefer-newer' set to non-nil work for you
(and save you from needing to implement `load-file-most-recent'
yourself)?

[ I'm basing this mostly on the name - I only glanced at the definition
  of `load-file-most-recent'.]

        John



reply via email to

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