57ef5bb249
This way the prelude-find-user-init-file can actually take you to a useful file (instead of to init.el)
79 lines
2.2 KiB
EmacsLisp
79 lines
2.2 KiB
EmacsLisp
;;; prelude-custom.el --- Emacs Prelude: Prelude's customizable variables.
|
|
;;
|
|
;; Copyright © 2011-2013 Bozhidar Batsov
|
|
;;
|
|
;; Author: Bozhidar Batsov <bozhidar@batsov.com>
|
|
;; URL: https://github.com/bbatsov/prelude
|
|
;; Version: 1.0.0
|
|
;; Keywords: convenience
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Refinements of the core editing experience in Emacs.
|
|
|
|
;;; License:
|
|
|
|
;; This program is free software; you can redistribute it and/or
|
|
;; modify it under the terms of the GNU General Public License
|
|
;; as published by the Free Software Foundation; either version 3
|
|
;; of the License, or (at your option) any later version.
|
|
;;
|
|
;; This program is distributed in the hope that it will be useful,
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;; GNU General Public License for more details.
|
|
;;
|
|
;; You should have received a copy of the GNU General Public License
|
|
;; along with GNU Emacs; see the file COPYING. If not, write to the
|
|
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
;; Boston, MA 02110-1301, USA.
|
|
|
|
;;; Code:
|
|
|
|
;; customize
|
|
(defgroup prelude nil
|
|
"Emacs Prelude configuration."
|
|
:prefix "prelude-"
|
|
:group 'convenience)
|
|
|
|
(defcustom prelude-auto-save t
|
|
"Non-nil values enable Prelude's auto save."
|
|
:type 'boolean
|
|
:group 'prelude)
|
|
|
|
(defcustom prelude-guru t
|
|
"Non-nil values enable guru-mode."
|
|
:type 'boolean
|
|
:group 'prelude)
|
|
|
|
(defcustom prelude-whitespace t
|
|
"Non-nil values enable Prelude's whitespace visualization."
|
|
:type 'boolean
|
|
:group 'prelude)
|
|
|
|
(defcustom prelude-clean-whitespace-on-save t
|
|
"Cleanup whitespace from file before it's saved.
|
|
Will only occur if prelude-whitespace is also enabled."
|
|
:type 'boolean
|
|
:group 'prelude)
|
|
|
|
(defcustom prelude-flyspell t
|
|
"Non-nil values enable Prelude's flyspell support."
|
|
:type 'boolean
|
|
:group 'prelude)
|
|
|
|
(defcustom prelude-user-init-file (concat user-emacs-directory
|
|
"personal/")
|
|
"Path to your personal customization file.
|
|
|
|
Since Prelude recommends you only put personal customizations in
|
|
the personal folder."
|
|
:type 'string
|
|
:group 'prelude)
|
|
|
|
(provide 'prelude-custom)
|
|
|
|
;;; prelude-custom.el ends here
|