Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 221197
Collapse All | Expand All

(-)edit-utils-orig/lisp/edit-utils/auto-autoloads.el (+2 lines)
Lines 612-617 Link Here
612
612
613
(defcustom fast-lock-mode nil "Non nil means `fast-lock-mode' is on" :group 'fast-lock :require 'fast-lock :type 'boolean :initialize 'custom-initialize-default :set '(lambda (var val) (if val (progn (fast-lock-mode 1) (add-hook 'font-lock-mode-hook 'turn-on-fast-lock)) (fast-lock-mode -1) (remove-hook 'font-lock-mode-hook 'turn-on-fast-lock)) (setq-default fast-lock-mode val)))
613
(defcustom fast-lock-mode nil "Non nil means `fast-lock-mode' is on" :group 'fast-lock :require 'fast-lock :type 'boolean :initialize 'custom-initialize-default :set '(lambda (var val) (if val (progn (fast-lock-mode 1) (add-hook 'font-lock-mode-hook 'turn-on-fast-lock)) (fast-lock-mode -1) (remove-hook 'font-lock-mode-hook 'turn-on-fast-lock)) (setq-default fast-lock-mode val)))
614
614
615
(put 'fast-lock-cache-directories 'risky-local-variable t)
616
615
(autoload 'fast-lock-mode "fast-lock" "\
617
(autoload 'fast-lock-mode "fast-lock" "\
616
Toggle Fast Lock mode.
618
Toggle Fast Lock mode.
617
With arg, turn Fast Lock mode on if and only if arg is positive and the buffer
619
With arg, turn Fast Lock mode on if and only if arg is positive and the buffer
(-)edit-utils-orig/lisp/edit-utils/fast-lock.el (-2 / +7 lines)
Lines 247-253 Link Here
247
247
248
;; User Variables:
248
;; User Variables:
249
249
250
(defcustom fast-lock-cache-directories '("." "~/.emacs-flc")
250
(defcustom fast-lock-cache-directories '("~/.emacs-flc")
251
; - `internal', keep each file's Font Lock cache file in the same file.
251
; - `internal', keep each file's Font Lock cache file in the same file.
252
; - `external', keep each file's Font Lock cache file in the same directory.
252
; - `external', keep each file's Font Lock cache file in the same directory.
253
  "*Directories in which Font Lock cache files are saved and read.
253
  "*Directories in which Font Lock cache files are saved and read.
Lines 265-274 Link Here
265
 ((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\")
265
 ((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\")
266
266
267
would cause a file's current directory to be used if the file is under your
267
would cause a file's current directory to be used if the file is under your
268
home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'."
268
home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'.
269
For security reasons, it is not advisable to use the file's current directory
270
to avoid the possibility of using the cache of another user."
269
  :type '(repeat (choice (cons regexp directory) directory))
271
  :type '(repeat (choice (cons regexp directory) directory))
270
  :group 'fast-lock)
272
  :group 'fast-lock)
271
273
274
;;;###autoload
275
(put 'fast-lock-cache-directories 'risky-local-variable t)
276
272
(defcustom fast-lock-minimum-size (* 25 1024)
277
(defcustom fast-lock-minimum-size (* 25 1024)
273
  "*Minimum size of a buffer for cached fontification.
278
  "*Minimum size of a buffer for cached fontification.
274
Only buffers more than this can have associated Font Lock cache files saved.
279
Only buffers more than this can have associated Font Lock cache files saved.

Return to bug 221197