"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "style/beamer.el" between
auctex-12.2.tar.gz and auctex-12.3.tar.gz

About: AUCTEX is an extensible package for writing and formatting TeX files in GNU Emacs and XEmacs.

beamer.el  (auctex-12.2):beamer.el  (auctex-12.3)
;;; beamer.el --- AUCTeX style for the latex-beamer class ;;; beamer.el --- AUCTeX style for the latex-beamer class
;; Copyright (C) 2003, 2004, 2005, 2008, 2013-2016, 2018 Free Software Foundatio n ;; Copyright (C) 2003-2005, 2008, 2013-2016, 2018, 2020 Free Software Foundation , Inc.
;; Author: Thomas Baumann <thomas.baumann@ch.tum.de> ;; Author: Thomas Baumann <thomas.baumann@ch.tum.de>
;; Created: 2003-12-20 ;; Created: 2003-12-20
;; Keywords: tex ;; Keywords: tex
;; This file is part of AUCTeX. ;; This file is part of AUCTeX.
;; AUCTeX is free software; you can redistribute it and/or modify it ;; AUCTeX is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by ;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option) ;; the Free Software Foundation; either version 3, or (at your option)
skipping to change at line 37 skipping to change at line 37
;; This file adds support for the latex-beamer class. ;; This file adds support for the latex-beamer class.
;;; Code: ;;; Code:
;; Silence the compiler: ;; Silence the compiler:
(declare-function font-latex-add-keywords (declare-function font-latex-add-keywords
"font-latex" "font-latex"
(keywords class)) (keywords class))
(declare-function font-latex-update-font-lock
"font-latex"
(&optional syntactic-kws))
(defun LaTeX-beamer-after-insert-env (env start _end) (defun LaTeX-beamer-after-insert-env (env start _end)
"Do beamer-specific stuff after the insertion of an environment." "Do beamer-specific stuff after the insertion of an environment."
;; Add `fragile' as an optional argument to the frame environment if ;; Add `fragile' as an optional argument to the frame environment if
;; a verbatim environment is inserted. ;; a verbatim environment is inserted.
(when (and (TeX-member env (LaTeX-verbatim-environments) 'string-equal) (when (and (TeX-member env (LaTeX-verbatim-environments) 'string-equal)
(save-excursion (save-excursion
(goto-char start) (goto-char start)
(string-equal (LaTeX-current-environment) "frame"))) (string-equal (LaTeX-current-environment) "frame")))
(save-excursion (save-excursion
(when (re-search-backward "\\\\begin[ \t]*{frame}" nil t) (when (re-search-backward "\\\\begin[ \t]*{frame}" nil t)
skipping to change at line 192 skipping to change at line 188
'("semiverbatim" current-indentation) t) '("semiverbatim" current-indentation) t)
(add-to-list 'LaTeX-verbatim-environments-local "semiverbatim") (add-to-list 'LaTeX-verbatim-environments-local "semiverbatim")
;; Fontification ;; Fontification
(when (and (featurep 'font-latex) (when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup)) (eq TeX-install-font-lock 'font-latex-setup))
(font-latex-add-keywords '(("title" "[{") (font-latex-add-keywords '(("title" "[{")
("subtitle" "[{") ("subtitle" "[{")
("author" "[{") ("author" "[{")
("date" "[{") ("date" "[{")
("frametitle" "<[{")) 'slide-title) ("frametitle" "<[{")) 'slide-title)))
(font-latex-update-font-lock t)))
LaTeX-dialect) LaTeX-dialect)
(defun TeX-arg-beamer-overlay-spec (optional &optional prompt) (defun TeX-arg-beamer-overlay-spec (optional &optional prompt)
"Prompt for overlay specification. "Prompt for overlay specification.
If OPTIONAL is non-nil, insert the specification only if If OPTIONAL is non-nil, insert the specification only if
non-empty and enclosed in \"<>\". PROMPT replaces the standard non-empty and enclosed in \"<>\". PROMPT replaces the standard
one." one."
(let ((TeX-arg-opening-brace "<") (let ((TeX-arg-opening-brace "<")
(TeX-arg-closing-brace ">")) (TeX-arg-closing-brace ">"))
(TeX-argument-insert (TeX-argument-insert
 End of changes. 3 change blocks. 
7 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)