Load package before using browse-at-remote-prefer-symbolic
Fixes a void-variable error if used too early in a session.
This commit is contained in:
parent
2391328d8c
commit
ca1496f297
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
"Open URL to current file (and line if selection is active) in browser.
|
||||
If prefix ARG, negate the default value of `browse-at-remote-prefer-symbolic'."
|
||||
(interactive "P")
|
||||
(require 'browse-at-remote)
|
||||
(let ((browse-at-remote-prefer-symbolic
|
||||
(if arg
|
||||
(not browse-at-remote-prefer-symbolic)
|
||||
|
@ -22,6 +23,7 @@ If prefix ARG, negate the default value of `browse-at-remote-prefer-symbolic'."
|
|||
"Copy URL to current file (and line if selection is active) to clipboard.
|
||||
If prefix ARG, negate the default value of `browse-at-remote-prefer-symbolic'."
|
||||
(interactive "P")
|
||||
(require 'browse-at-remote)
|
||||
(let ((browse-at-remote-prefer-symbolic
|
||||
(if arg
|
||||
(not browse-at-remote-prefer-symbolic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue