From 1b12caa6b8404140dd05372d6ab8f791e1cf9438 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 4 Jan 2022 23:57:39 -0600 Subject: Changes --- lisp/+Info.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lisp/+Info.el (limited to 'lisp/+Info.el') diff --git a/lisp/+Info.el b/lisp/+Info.el new file mode 100644 index 0000000..a3c2fcd --- /dev/null +++ b/lisp/+Info.el @@ -0,0 +1,17 @@ +;;; +Info.el -*- lexical-binding: t; -*- + +;;Copyright (C) 2022 Case Duckworth + +;;; Code: + +(require 'info) + +(defun +Info-copy-current-node-name (&optional arg) + "Put the name of the current Info invocation intothe kill ring. +This is the same as `Info-copy-current-node-name', but with the +arg reversed." + (interactive "P" Info-mode) + (Info-copy-current-node-name (unless arg 0))) + +(provide '+Info) +;;; +Info.el ends here -- cgit 1.4.1-21-gabe81