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

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

Re: help with view-less mode


From: Joe Corneli
Subject: Re: help with view-less mode
Date: Mon, 18 Apr 2005 14:04:31 -0500

:;exec emacs -nw -q --no-site-file -l $0 -f : $* # -*- Emacs-Lisp -*-
;;; eless - make emacs be like less
(menu-bar-mode -1)
(setq inhibit-startup-message 1)
(defun : ()
  (view-file (car command-line-args-left)))
;;; end of eless

Copy that into a file and make it executable, then run it.  Magic!
(I'll leave it to you to deal with multiple files.)




reply via email to

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