[Top][All Lists]

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

Re: strange "feature"

From: Stephen J. Turnbull
Subject: Re: strange "feature"
Date: Mon, 15 Oct 2012 16:14:13 +0900

Tekk writes:

 > It's certainly possible, but I in general I think it'd be
 > preferable for emacs to dtrt,

Patches welcome, I'm sure.

Personally I use

(defun sjt/print-file-of-buffer ()
  (let ((cmd (format "lp %s" (buffer-file-name))))
    (when (y-or-n-p (format "%s?" cmd))
      (shell-command cmd))))
(global-set-key [(control c) p] #'sjt/print-file-of-buffer)

reply via email to

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