diff options
Diffstat (limited to 'lisp/+Info.el')
-rw-r--r-- | lisp/+Info.el | 17 |
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. | ||
11 | This is the same as `Info-copy-current-node-name', but with the | ||
12 | arg reversed." | ||
13 | (interactive "P" Info-mode) | ||
14 | (Info-copy-current-node-name (unless arg 0))) | ||
15 | |||
16 | (provide '+Info) | ||
17 | ;;; +Info.el ends here | ||