summary refs log tree commit diff stats
path: root/lisp/+Info.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/+Info.el')
-rw-r--r--lisp/+Info.el17
1 files changed, 17 insertions, 0 deletions
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 @@
1;;; +Info.el -*- lexical-binding: t; -*-
2
3;;Copyright (C) 2022 Case Duckworth
4
5;;; Code:
6
7(require 'info)
8
9(defun +Info-copy-current-node-name (&optional arg)
10 "Put the name of the current Info invocation intothe kill ring.
11This is the same as `Info-copy-current-node-name', but with the
12arg reversed."
13 (interactive "P" Info-mode)
14 (Info-copy-current-node-name (unless arg 0)))
15
16(provide '+Info)
17;;; +Info.el ends here