Browse Source

Merge branch 'km/from-emacs-master'

Kyle Meyer 4 years ago
parent
commit
664b653448
7 changed files with 13 additions and 11 deletions
  1. 1 1
      lisp/org-capture.el
  2. 1 1
      lisp/org-indent.el
  3. 1 1
      lisp/org-list.el
  4. 1 1
      lisp/org-src.el
  5. 3 3
      lisp/org-table.el
  6. 1 1
      lisp/org.el
  7. 5 3
      lisp/ox-beamer.el

+ 1 - 1
lisp/org-capture.el

@@ -524,7 +524,7 @@ for a capture buffer.")
   "Minor mode for special key bindings in 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'."
 Turning on this mode runs the normal hook `org-capture-mode-hook'."
-  nil " Cap" org-capture-mode-map
+  :lighter " Cap"
   (setq-local
   (setq-local
    header-line-format
    header-line-format
    (substitute-command-keys
    (substitute-command-keys

+ 1 - 1
lisp/org-indent.el

@@ -167,7 +167,7 @@ properties, after each buffer modification, on the modified zone.
 The process is synchronous.  Though, initial indentation of
 The process is synchronous.  Though, initial indentation of
 buffer, which can take a few seconds on large buffers, is done
 buffer, which can take a few seconds on large buffers, is done
 during idle time."
 during idle time."
-  nil " Ind" nil
+  :lighter " Ind"
   (cond
   (cond
    (org-indent-mode
    (org-indent-mode
     ;; mode was turned on.
     ;; mode was turned on.

+ 1 - 1
lisp/org-list.el

@@ -2296,7 +2296,7 @@ is an integer, 0 means `-', 1 means `+' etc.  If WHICH is
 ;;;###autoload
 ;;;###autoload
 (define-minor-mode org-list-checkbox-radio-mode
 (define-minor-mode org-list-checkbox-radio-mode
   "When turned on, use list checkboxes as radio buttons."
   "When turned on, use list checkboxes as radio buttons."
-  nil " CheckBoxRadio" nil
+  :lighter " CheckBoxRadio"
   (unless (eq major-mode 'org-mode)
   (unless (eq major-mode 'org-mode)
     (user-error "Cannot turn this mode outside org-mode buffers")))
     (user-error "Cannot turn this mode outside org-mode buffers")))
 
 

+ 1 - 1
lisp/org-src.el

@@ -682,7 +682,7 @@ This minor mode is turned on in two situations:
 \\{org-src-mode-map}
 \\{org-src-mode-map}
 
 
 See also `org-src-mode-hook'."
 See also `org-src-mode-hook'."
-  nil " OrgSrc" nil
+  :lighter " OrgSrc"
   (when org-edit-src-persistent-message
   (when org-edit-src-persistent-message
     (setq header-line-format
     (setq header-line-format
 	  (substitute-command-keys
 	  (substitute-command-keys

+ 3 - 3
lisp/org-table.el

@@ -499,7 +499,7 @@ This may be useful when columns have been shrunk."
 ;;;###autoload
 ;;;###autoload
 (define-minor-mode org-table-header-line-mode
 (define-minor-mode org-table-header-line-mode
   "Display the first row of the table at point in the header line."
   "Display the first row of the table at point in the header line."
-  nil " TblHeader" nil
+  :lighter " TblHeader"
   (unless (eq major-mode 'org-mode)
   (unless (eq major-mode 'org-mode)
     (user-error "Cannot turn org table header mode outside org-mode buffers"))
     (user-error "Cannot turn org table header mode outside org-mode buffers"))
   (if org-table-header-line-mode
   (if org-table-header-line-mode
@@ -1966,7 +1966,7 @@ lines."
 When this mode is active, the field editor window will always show the
 When this mode is active, the field editor window will always show the
 current field.  The mode exits automatically when the cursor leaves the
 current field.  The mode exits automatically when the cursor leaves the
 table (but see `org-table-exit-follow-field-mode-when-leaving-table')."
 table (but see `org-table-exit-follow-field-mode-when-leaving-table')."
-  nil " TblFollow" nil
+  :lighter " TblFollow"
   (if org-table-follow-field-mode
   (if org-table-follow-field-mode
       (add-hook 'post-command-hook 'org-table-follow-fields-with-editor
       (add-hook 'post-command-hook 'org-table-follow-fields-with-editor
 		'append 'local)
 		'append 'local)
@@ -5133,7 +5133,7 @@ When LOCAL is non-nil, show references for the table at point."
 ;;;###autoload
 ;;;###autoload
 (define-minor-mode orgtbl-mode
 (define-minor-mode orgtbl-mode
   "The Org mode table editor as a minor mode for use in other modes."
   "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)
   (org-load-modules-maybe)
   (cond
   (cond
    ((derived-mode-p 'org-mode)
    ((derived-mode-p 'org-mode)

+ 1 - 1
lisp/org.el

@@ -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
 This mode supports entering LaTeX environment and math in LaTeX fragments
 in Org mode.
 in Org mode.
 \\{org-cdlatex-mode-map}"
 \\{org-cdlatex-mode-map}"
-  nil " OCDL" nil
+  :lighter " OCDL"
   (when org-cdlatex-mode
   (when org-cdlatex-mode
     (require 'cdlatex)
     (require 'cdlatex)
     (run-hooks 'cdlatex-mode-hook)
     (run-hooks 'cdlatex-mode-hook)

+ 5 - 3
lisp/ox-beamer.el

@@ -893,14 +893,16 @@ holding export options."
 ;;; Minor Mode
 ;;; 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'.")
   "The keymap for `org-beamer-mode'.")
-(define-key org-beamer-mode-map "\C-c\C-b" 'org-beamer-select-environment)
 
 
 ;;;###autoload
 ;;;###autoload
 (define-minor-mode org-beamer-mode
 (define-minor-mode org-beamer-mode
   "Support for editing Beamer oriented Org mode files."
   "Support for editing Beamer oriented Org mode files."
-  nil " Bm" 'org-beamer-mode-map)
+  :lighter " Bm")
 
 
 (when (fboundp 'font-lock-add-keywords)
 (when (fboundp 'font-lock-add-keywords)
   (font-lock-add-keywords
   (font-lock-add-keywords