mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Add 'project-customize-dirlocals'
* etc/NEWS: Add command entry. * lisp/menu-bar.el (menu-bar-project-menu): Add command entry to project menu. * lisp/progmodes/project.el (project-customize-dirlocals): New command. (Bug#77229)
This commit is contained in:
parent
a4ec9ca129
commit
da6da5744b
3 changed files with 14 additions and 0 deletions
|
|
@ -1391,6 +1391,14 @@ The current buffer's `default-directory' is available as part of
|
|||
(interactive)
|
||||
(vc-dir (project-root (project-current t))))
|
||||
|
||||
;;;###autoload
|
||||
(defun project-customize-dirlocals ()
|
||||
"Run `customize-dirlocals' in current project's root."
|
||||
(interactive)
|
||||
(customize-dirlocals
|
||||
(expand-file-name ".dir-locals.el"
|
||||
(project-root (project-current t)))))
|
||||
|
||||
(declare-function comint-check-proc "comint")
|
||||
|
||||
;;;###autoload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue