Skip to content

Commit a612f01

Browse files
committed
docs(skel): update the configuration examples
1 parent 2dd5d4d commit a612f01

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

skel/config.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@
263263
(add-to-list 'forge-alist '("gitlab.private.com" "gitlab.private.com/api/v4" "gitlab.private.com" forge-gitlab-repository)))
264264

265265
;; Module: `me-services' -- Package: `jiralib' / `org-jira'
266-
;; When `jiralib2' is enabled, do some extra stuff
267-
(when (+package-configured-p 'jiralib)
266+
;; When `jiralib' is enabled, do some extra stuff
267+
(when (or (+package-configured-p 'jiralib) (+package-configured-p 'org-jira))
268268
;; You only need to set `jiralib-url'. The `jiralib-host' and `jiralib-user' are optional
269269
(setq jiralib-url "https://my-jira-server.tld/"
270270
jiralib-host "my-jira-server.tld"

skel/init-tweaks.el

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@
88

99
;;; Code:
1010

11-
(with-eval-after-load 'me-lib
12-
;; Define special "first file" hooks and features for Python and C/C++ files,
13-
;; this will creates the hooks `minemacs-first-c/c++-file-hook' and and
14-
;; `minemacs-first-python-file-hook' that will provide the features
15-
;; `minemacs-first-c/c++-file' and `minemacs-first-python-file'.
16-
(+make-first-file-hook! 'c/c++ (rx "." (or "c" "cpp" "cxx" "cc" "c++" "h" "hpp" "hxx" "hh" "h++" "ixx" "cppm" "cxxm" "c++m" "ccm") eol))
17-
(+make-first-file-hook! 'python (rx "." (or "py" "pyw" "pyx" "pyz" "pyzw") eol)))
11+
;; NOTE: At this point, `me-vars' and `me-lib' are already available and
12+
;; "core/me-loaddefs.el" is loaded.
1813

19-
;; Enable `pyenv' integration
20-
;; (setq +python-enable-pyenv t)
14+
;; Define special "first file" hooks and features for Rust and Octave/Matlab
15+
;; files, this will creates the hooks `minemacs-first-rust-file-hook' and and
16+
;; `minemacs-first-octave-file-hook' that will provide the features
17+
;; `minemacs-first-rust-file' and `minemacs-first-octave-file'.
18+
(+make-first-file-hook! 'rust "\\.rs$")
19+
(+make-first-file-hook! 'octave "\\.m$")
2120

2221
;;; init-tweaks.el ends here

0 commit comments

Comments
 (0)