all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to make flymake happy without interfering with logic?
@ 2019-11-05 17:24 Pankaj Jangid
  2019-11-05 21:24 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Pankaj Jangid @ 2019-11-05 17:24 UTC (permalink / raw)
  To: Emacs mailing list

Hi,

I have a file 'init-env.el' in '<user-emacs-directory>/lisp'
directory. In my 'init.el' when I do (require 'init-env), flymake says
no such file or directory.

Emacs loads the file perfectly without any error with the following code
in my init.el,

(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))

But flymake works only when I call the above code inside
(eval-when-compile ...) form.

My question is - how to make flymake happy without interfering with
logic?

Regards,
-- 
Pankaj Jangid



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-05 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-05 17:24 How to make flymake happy without interfering with logic? Pankaj Jangid
2019-11-05 21:24 ` Stefan Monnier

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.