all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About init.el being a symlink
@ 2019-10-07 15:59 Angelo Graziosi
  2019-10-07 16:09 ` Angelo Graziosi
  0 siblings, 1 reply; 2+ messages in thread
From: Angelo Graziosi @ 2019-10-07 15:59 UTC (permalink / raw)
  To: emacs-devel

I have noticed that when init.el is a symlink to a true init file, say init.el -> init.el-A, visiting it loads correctly the file but in Fundamental mode, not Emacs-Lisp-mode. 

Is this to be expected? I wonder if you can save goat and cabbage ...

Ciao,
  Angelo.



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

* Re: About init.el being a symlink
  2019-10-07 15:59 About init.el being a symlink Angelo Graziosi
@ 2019-10-07 16:09 ` Angelo Graziosi
  0 siblings, 0 replies; 2+ messages in thread
From: Angelo Graziosi @ 2019-10-07 16:09 UTC (permalink / raw)
  To: emacs-devel

Just as a trick, a symlink as this works as expected:

   init.el -> init-A.el

(i.e. having a true file ending in .el)

> Il 7 ottobre 2019 alle 17.59 Angelo Graziosi ha scritto:
> 
> 
> I have noticed that when init.el is a symlink to a true init file, say init.el -> init.el-A, visiting it loads correctly the file but in Fundamental mode, not Emacs-Lisp-mode. 
> 
> Is this to be expected? I wonder if you can save goat and cabbage ...
> 
> Ciao,
>   Angelo.



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

end of thread, other threads:[~2019-10-07 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-07 15:59 About init.el being a symlink Angelo Graziosi
2019-10-07 16:09 ` Angelo Graziosi

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.