Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yf-edit-major-mode-hook when buffer open #1

Open
YourFin opened this issue Sep 2, 2017 · 1 comment
Open

yf-edit-major-mode-hook when buffer open #1

YourFin opened this issue Sep 2, 2017 · 1 comment

Comments

@YourFin
Copy link
Owner

YourFin commented Sep 2, 2017

If the major-mode-hooks.el file is open in a buffer

(-some (lambda (acting-buffer)
		      (if (string-equal hook-file-parent-dir
					(buffer-file-name acting-buffer))
			  acting-buffer))
		    (buffer-list))

does not work as intended to prevent the with-open-buffer part from writing to the current file.

@YourFin
Copy link
Owner Author

YourFin commented Jan 7, 2018

Should be irrelevant after #35

@YourFin YourFin closed this as completed Jan 7, 2018
@YourFin YourFin reopened this Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant