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

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

bug#43165: [PATCH] Add load this file lisp function.


From: Lars Ingebrigtsen
Subject: bug#43165: [PATCH] Add load this file lisp function.
Date: Wed, 02 Sep 2020 11:43:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jen-Chieh Shen <jcs090218@gmail.com> writes:

> I think `load-this-file` could be kind of handy.Is related to `kill-buffer` 
> and
> `kill-this-buffer`, etc.
>
> What do you guys think?

[...]

> +(defun load-this-file ()
> +  "Load current Lisp file."
> +  (interactive)
> +  (load-file (buffer-file-name)))

This doesn't really seem all that useful -- `M-x load-file RET M-n RET'
gives you the same result.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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