mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-25 11:11:19 +00:00
[emacs] Add support for editing osx plists
This commit is contained in:
parent
f76ec775e0
commit
534e21c227
1 changed files with 17 additions and 0 deletions
|
@ -1204,6 +1204,23 @@ Study kanji by overlaying hiragana readings.
|
|||
:mode ("\\.epub\\'" . nov-mode)
|
||||
:config
|
||||
(setq nov-save-place-file (concat doom-cache-dir "nov-places")))
|
||||
|
||||
* Editing binary-compressed plist files in OSX
|
||||
From https://www.emacswiki.org/emacs/MacOSXPlist#toc1
|
||||
#+begin_src emacs-lisp
|
||||
;; Allow editing of binary .plist files.
|
||||
(add-to-list 'jka-compr-compression-info-list
|
||||
["\\.plist$"
|
||||
"converting text XML to binary plist"
|
||||
"plutil"
|
||||
("-convert" "binary1" "-o" "-" "-")
|
||||
"converting binary plist to text XML"
|
||||
"plutil"
|
||||
("-convert" "xml1" "-o" "-" "-")
|
||||
nil nil "bplist"])
|
||||
|
||||
;;It is necessary to perform an update!
|
||||
(jka-compr-update)
|
||||
#+end_src
|
||||
* Miscellaneous Nonsense
|
||||
** BRING ON THE ...
|
||||
|
|
Loading…
Reference in a new issue