diff options
author | Blendoit <blendoit@gmail.com> | 2020-11-24 13:52:03 -0800 |
---|---|---|
committer | Blendoit <blendoit@gmail.com> | 2020-11-24 13:52:03 -0800 |
commit | e53ed020887d632b9fcb02f12f7dc21da8105963 (patch) | |
tree | ffd20cf99ba55aa40a8245ab2d076f686aa3c7c3 | |
parent | 167a2d6ac78bf22bee2b107420dcf4b3cb5c028e (diff) |
(eq major-mode 'org-mode)
-rw-r--r-- | custom.el | 1 | ||||
-rw-r--r-- | smart-documents.org | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -35,6 +35,7 @@ '(org-log-done 'time) '(org-log-done-with-time nil) '(org-startup-align-all-tables t) + '(org-table-convert-region-max-lines 3000) '(org-tags-column -66) '(package-selected-packages '(erc-image erc-hl-nicks treemacs moody olivetti semantic-refactor org-pretty-table mode-icons dashboard undo-tree hungry-delete smooth-scroll smooth-scrolling delight yasnippet-snippets yasnippet org-sticky-header awesome-tab tabbar-ruler tabbar-mode linum-relative dumb-jump csv-mode rainbow-mode org-mouse projectile minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init)) diff --git a/smart-documents.org b/smart-documents.org index 977b34c..e73def7 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -422,7 +422,7 @@ pressed. The following bindings lead to more natural window & frame exit behaviors. #+NAME: close-window-or-previous-buffer -#+BEGIN_SRC emacs-lisp :tangle no +#+BEGIN_SRC emacs-lisp :tangle yes (global-set-key (kbd "C-w") (lambda () "Delete window; if sole window, previous buffer." @@ -823,7 +823,7 @@ Emacs ships with an IRC client called ~erc~. "#python"))) (erc-autojoin-timing 'ident) ; Autojoin after NickServ identification. (erc-fill-function 'erc-fill-static) - (erc-fill-static-center 20) + (erc-fill-static-center 16) ;; (erc-hide-list '("JOIN" "PART" "QUIT")) (erc-lurker-hide-list '("JOIN" "PART" "QUIT")) (erc-lurker-threshold-time (* 3600 4)) ; Four hours @@ -1429,7 +1429,7 @@ document we are working on currently. (propertize "⇲ " 'mouse-face 'highlight 'face 'org-special-keyword 'help-echo "Minimize this window."))) - (if (string-equal major-mode "org-mode") + (if (eq major-mode 'org-mode) (org-property-value "TITLE") (buffer-name)))))) @@ -1451,7 +1451,7 @@ document we are working on currently. (propertize "⇲ " 'mouse-face 'highlight 'face 'org-special-keyword 'help-echo "Minimize this window."))) - (if (string-equal major-mode "org-mode") + (if (eq major-mode 'org-mode) (org-property-value "TITLE") (buffer-name)))))) |