2

How to start emacs and run M-x man followed by the manpage name from bash.

I want this to have an alias to man in bash, but I'm new to emacs and can't figure out how to do this.

1 Answer 1

1
emacs --eval '(man "emacs")'

Good luck getting the quoting right in your alias. :-)

Sign up to request clarification or add additional context in comments.

1 Comment

thanks, got the alias working with manu() { emacs --eval "(man \""$1"\")" }. Finally I have proportional fonts for reading man pages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.