[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 06/09: Fix last change
From: |
Leo Liu |
Subject: |
[elpa] 06/09: Fix last change |
Date: |
Tue, 18 Feb 2014 02:56:17 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit 5a3c24af17178d77ff2c39b95b97a093765ffe38
Author: Leo Liu <address@hidden>
Date: Mon Feb 17 10:59:47 2014 +0800
Fix last change
which causes error:
ggtags-get-libpath: Invalid function: ggtags-with-process-environment
---
ggtags.el | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ggtags.el b/ggtags.el
index 94e9374..87d7127 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -251,10 +251,6 @@ properly update `ggtags-mode-map'."
(and (stringp (car xs))
(ggtags-list-of-string-p (cdr xs)))))
-(defun ggtags-get-libpath ()
- (when-let (path (ggtags-with-process-environment (getenv "GTAGSLIBPATH")))
- (split-string path (regexp-quote path-separator) t)))
-
(defun ggtags-process-string (program &rest args)
(with-temp-buffer
(let ((exit (apply #'process-file program nil t nil args))
@@ -425,6 +421,10 @@ properly update `ggtags-mode-map'."
(unwind-protect (save-current-buffer ,@body)
(setq ggtags-project ,ggproj)))))
+(defun ggtags-get-libpath ()
+ (when-let (path (ggtags-with-current-project (getenv "GTAGSLIBPATH")))
+ (split-string path (regexp-quote path-separator) t)))
+
(defun ggtags-create-tags (root)
"Run `gtags' in directory ROOT to create tag files."
(interactive "DRoot directory: ")
- [elpa] branch master updated (29cc746 -> 2e6b4f6), Leo Liu, 2014/02/17
- [elpa] 02/09: Fix misuse of display-buffer-overriding-action, Leo Liu, 2014/02/17
- [elpa] 01/09: Force ggtags-update-tags when called interactively, Leo Liu, 2014/02/17
- [elpa] 03/09: Fix #31: Avoid `-d' switch for compatibility, Leo Liu, 2014/02/17
- [elpa] 06/09: Fix last change,
Leo Liu <=
- [elpa] 04/09: Expire project info in ggtags-update-tags, Leo Liu, 2014/02/17
- [elpa] 05/09: Remove side-effect from ggtags-with-process-environment, Leo Liu, 2014/02/17
- [elpa] 07/09: Rename ggtags-with-process-environment, Leo Liu, 2014/02/17
- [elpa] 08/09: Fix #32: handle upstream change in query-replace-read-args, Leo Liu, 2014/02/17
- [elpa] 09/09: Merge remote-tracking branch 'ggtags/master', Leo Liu, 2014/02/17