summary refs log tree commit diff stats
path: root/lisp/+Info.el
diff options
context:
space:
mode:
authorCase Duckworth2022-01-04 23:57:39 -0600
committerCase Duckworth2022-01-04 23:57:39 -0600
commit1b12caa6b8404140dd05372d6ab8f791e1cf9438 (patch)
treee13539b8382bbc35fa95d2939ab0caee3773f5e8 /lisp/+Info.el
parentAdd spacing (diff)
downloademacs-1b12caa6b8404140dd05372d6ab8f791e1cf9438.tar.gz
emacs-1b12caa6b8404140dd05372d6ab8f791e1cf9438.zip
Changes
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