Mercurial > emacs
view lisp/obsolete/sc.el @ 107374:dc9565b08f10
Add .dir-locals.el support for file-less buffers.
* files.el (hack-local-variables): Split out code to apply local
variable settings ...
(hack-local-variables-apply): ... here. New function.
(hack-dir-local-variables): Use the default directory for when the
buffer does not have an associated file.
(hack-dir-local-variables-non-file-buffer): New function.
* diff-mode.el (diff-mode):
* vc-annotate.el (vc-annotate-mode):
* vc-dir.el (vc-dir-mode):
* log-edit.el (log-edit-mode):
* log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 12 Mar 2010 00:04:54 -0800 |
parents | ee22366f2a68 |
children |
line wrap: on
line source
;;; sc.el --- old name for supercite ;; Maintainer: FSF ;; This file is part of GNU Emacs. ;;; Commentary: ;; This file has been obsolete since Emacs 21.1. ;;; Code: (require 'supercite) (provide 'sc) (message "The name `sc' works but is obsolete; please use `supercite' instead") ;; arch-tag: 31e8ae19-689e-4b7d-9161-6d7dd60c6ece ;;; sc.el ends here