Merge branch 'km/from-emacs-master'
This commit is contained in:
commit
664b653448
|
@ -524,7 +524,7 @@ for a capture buffer.")
|
|||
"Minor mode for special key bindings in a capture buffer.
|
||||
|
||||
Turning on this mode runs the normal hook `org-capture-mode-hook'."
|
||||
nil " Cap" org-capture-mode-map
|
||||
:lighter " Cap"
|
||||
(setq-local
|
||||
header-line-format
|
||||
(substitute-command-keys
|
||||
|
|
|
@ -167,7 +167,7 @@ properties, after each buffer modification, on the modified zone.
|
|||
The process is synchronous. Though, initial indentation of
|
||||
buffer, which can take a few seconds on large buffers, is done
|
||||
during idle time."
|
||||
nil " Ind" nil
|
||||
:lighter " Ind"
|
||||
(cond
|
||||
(org-indent-mode
|
||||
;; mode was turned on.
|
||||
|
|
|
@ -2296,7 +2296,7 @@ is an integer, 0 means `-', 1 means `+' etc. If WHICH is
|
|||
;;;###autoload
|
||||
(define-minor-mode org-list-checkbox-radio-mode
|
||||
"When turned on, use list checkboxes as radio buttons."
|
||||
nil " CheckBoxRadio" nil
|
||||
:lighter " CheckBoxRadio"
|
||||
(unless (eq major-mode 'org-mode)
|
||||
(user-error "Cannot turn this mode outside org-mode buffers")))
|
||||
|
||||
|
|
|
@ -682,7 +682,7 @@ This minor mode is turned on in two situations:
|
|||
\\{org-src-mode-map}
|
||||
|
||||
See also `org-src-mode-hook'."
|
||||
nil " OrgSrc" nil
|
||||
:lighter " OrgSrc"
|
||||
(when org-edit-src-persistent-message
|
||||
(setq header-line-format
|
||||
(substitute-command-keys
|
||||
|
|
|
@ -499,7 +499,7 @@ This may be useful when columns have been shrunk."
|
|||
;;;###autoload
|
||||
(define-minor-mode org-table-header-line-mode
|
||||
"Display the first row of the table at point in the header line."
|
||||
nil " TblHeader" nil
|
||||
:lighter " TblHeader"
|
||||
(unless (eq major-mode 'org-mode)
|
||||
(user-error "Cannot turn org table header mode outside org-mode buffers"))
|
||||
(if org-table-header-line-mode
|
||||
|
@ -1966,7 +1966,7 @@ lines."
|
|||
When this mode is active, the field editor window will always show the
|
||||
current field. The mode exits automatically when the cursor leaves the
|
||||
table (but see `org-table-exit-follow-field-mode-when-leaving-table')."
|
||||
nil " TblFollow" nil
|
||||
:lighter " TblFollow"
|
||||
(if org-table-follow-field-mode
|
||||
(add-hook 'post-command-hook 'org-table-follow-fields-with-editor
|
||||
'append 'local)
|
||||
|
@ -5133,7 +5133,7 @@ When LOCAL is non-nil, show references for the table at point."
|
|||
;;;###autoload
|
||||
(define-minor-mode orgtbl-mode
|
||||
"The Org mode table editor as a minor mode for use in other modes."
|
||||
:lighter " OrgTbl" :keymap orgtbl-mode-map
|
||||
:lighter " OrgTbl"
|
||||
(org-load-modules-maybe)
|
||||
(cond
|
||||
((derived-mode-p 'org-mode)
|
||||
|
|
|
@ -15640,7 +15640,7 @@ When a buffer is unmodified, it is just killed. When modified, it is saved
|
|||
This mode supports entering LaTeX environment and math in LaTeX fragments
|
||||
in Org mode.
|
||||
\\{org-cdlatex-mode-map}"
|
||||
nil " OCDL" nil
|
||||
:lighter " OCDL"
|
||||
(when org-cdlatex-mode
|
||||
(require 'cdlatex)
|
||||
(run-hooks 'cdlatex-mode-hook)
|
||||
|
|
|
@ -893,14 +893,16 @@ holding export options."
|
|||
;;; Minor Mode
|
||||
|
||||
|
||||
(defvar org-beamer-mode-map (make-sparse-keymap)
|
||||
(defvar org-beamer-mode-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(define-key map "\C-c\C-b" 'org-beamer-select-environment)
|
||||
map)
|
||||
"The keymap for `org-beamer-mode'.")
|
||||
(define-key org-beamer-mode-map "\C-c\C-b" 'org-beamer-select-environment)
|
||||
|
||||
;;;###autoload
|
||||
(define-minor-mode org-beamer-mode
|
||||
"Support for editing Beamer oriented Org mode files."
|
||||
nil " Bm" 'org-beamer-mode-map)
|
||||
:lighter " Bm")
|
||||
|
||||
(when (fboundp 'font-lock-add-keywords)
|
||||
(font-lock-add-keywords
|
||||
|
|
Loading…
Reference in New Issue