Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
002b0d00
Commit
002b0d00
authored
Dec 30, 1994
by
Richard M. Stallman
Browse files
(tex-mode-map): Add BibTeX File menu item.
parent
de3c715d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lisp/textmodes/tex-mode.el
lisp/textmodes/tex-mode.el
+6
-4
No files found.
lisp/textmodes/tex-mode.el
View file @
002b0d00
...
...
@@ -216,15 +216,17 @@ Set by \\[tex-region], \\[tex-buffer], and \\[tex-file].")
(
define-key
tex-mode-map
"\C-c\C-o"
'tex-latex-block
)
(
define-key
tex-mode-map
"\C-c\C-e"
'tex-close-latex-block
)
(
define-key
tex-mode-map
"\C-c\C-u"
'tex-goto-last-unclosed-latex-block
)
(
define-key
tex-mode-map
[menu-bar
tex
tex-bibtex-file]
'
(
"BibTeX File"
.
tex-bibtex-file
))
(
define-key
tex-mode-map
[menu-bar
tex
tex-validate-region]
'
(
"Validate Region"
.
tex-validate-region
))
(
define-key
tex-mode-map
[menu-bar
tex
validate-tex-buffer]
'
(
"Validate Buffer"
.
validate-tex-buffer
))
(
define-key
tex-mode-map
[menu-bar
tex
tex-region]
'
(
"Te
x
Region"
.
tex-region
))
'
(
"Te
X
Region"
.
tex-region
))
(
define-key
tex-mode-map
[menu-bar
tex
tex-buffer]
'
(
"Te
x
Buffer"
.
tex-buffer
))
(
define-key
tex-mode-map
[menu-bar
tex
tex-file]
'
(
"Te
x
File"
.
tex-file
)))
'
(
"Te
X
Buffer"
.
tex-buffer
))
(
define-key
tex-mode-map
[menu-bar
tex
tex-file]
'
(
"Te
X
File"
.
tex-file
)))
(
put
'tex-region
'menu-enable
'mark-active
)
(
put
'tex-validate-region
'menu-enable
'mark-active
)
...
...
@@ -1072,7 +1074,7 @@ is provided, use the alternative command, `tex-alt-dvi-print-command'."
(defun tex-alt-print ()
"
Print
the
.
dvi
file
made
by
\\[tex-region],
\\[tex-buffer]
or
\\[tex-file].
Runs
the
shell
command
defined
by
tex-alt-dvi-print-command.
"
Runs
the
shell
command
defined
by
`
tex-alt-dvi-print-command
'
.
"
(interactive)
(tex-print t))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment